Nim/tests/stdlib
Timothee Cour d1447fe25d
major improvements to std/wrapnils: optimal codegen, case objects, lvalue semantics (#18435)
* wrapnils now generates optimal code; also handles case objects
* changelog
* unsafeAddr => addr
2021-07-07 06:04:36 +02:00
..
concurrency fix #12726 Cannot take the compile-time sizeof Atomic types (#15928) 2020-11-12 09:16:40 +01:00
nre remove some noises in tests (#16448) 2020-12-27 14:45:57 +01:00
genericstrformat.nim Strformat symbol binding (#10927) 2019-04-05 15:27:04 +02:00
mgenast.nim new genAst as replacement for quote do (#17426) 2021-04-02 13:11:03 +02:00
mimportutils.nim make privateAccess work with generic types and generic instantiations; fix a SIGSEGV (#18260) 2021-06-19 11:24:46 -07:00
mintsets.nim packedsets fix regression introduced in #15564 (#16060) 2020-11-20 08:07:51 +01:00
mjsonexternproc.nim Reorder json add and %, fixes #6385 (#6388) 2017-09-16 19:09:44 +01:00
mstackframes.nim stacktraces can now show custom runtime msgs per frame (#13351) 2020-03-30 13:45:32 +02:00
osproctest.nim Add workingDir parameter to execProcess and test (#9549) 2018-11-26 10:28:44 +01:00
somesql.sql Parse the usage of the SQL in operator properly (#9527) 2018-10-28 13:34:57 +01:00
t7686.nim add tests for #7686 (#15771) 2020-10-29 18:12:14 +01:00
t8925.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
t9754.nim minor 2020-11-13 16:15:13 +08:00
t10231.nim testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY (#16343) 2020-12-14 10:58:29 +01:00
t14139.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
t15663.nim fix #15663 (#15839) [backport:1.4] 2020-11-05 14:00:49 +01:00
talgorithm.nim add algorithm.merge (#16182) 2021-03-23 10:49:02 +01:00
tarithmetics.nim js generates spurious >>> on shr (#17767) 2021-04-21 19:47:01 +02:00
tasynchttpserver.nim Add barebones asynchttpserver tests (#13883) 2020-04-05 21:16:13 +02:00
tasynchttpserver_transferencoding.nim Disable tasynchttpserver_transferencoding on FreeBSD (#18122) 2021-05-29 12:44:39 -07:00
tbase64.nim improve tbase64.nim (#17964) 2021-05-07 17:40:16 -07:00
tbitops.nim Improve documentation for bitops (#16961) 2021-02-15 21:17:45 +01:00
tbitops.nim.cfg minor fix (#16624) 2021-01-07 19:16:26 +01:00
tcgi.nim follow #15860 clean cgi module (#16487) 2020-12-27 19:46:21 +01:00
tchannels.nim refs #18011 disable some newly failing tests on cpp windows; refs #17946 increase timeout for tchannels (#18012) 2021-05-14 15:33:17 -07:00
tchannels_pthread.nim [std/channels]fix recv leaks(Part One) (#17394) 2021-03-17 10:08:54 +01:00
tchannels_simple.nim [std/channels]fix recv leaks(Part One) (#17394) 2021-03-17 10:08:54 +01:00
tcmdline.nim [nodejs backend] paramStr, paramCount (#17082) 2021-02-18 08:26:50 +01:00
tcomplex.nim Improve documentation for complex (#16588) 2021-01-05 17:50:15 +01:00
tcookies.nim [stdlib] make cookies module modern (#17116) 2021-02-24 10:14:19 +01:00
tcritbits.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tcstring.nim fix #16693: testament spec nimout too lax (#16698) 2021-04-04 13:47:28 -07:00
tcstrutils.nim make cstrutils work in VM (#16590) 2021-01-05 17:52:26 +01:00
tdecls.nim std/byaddr => std/decls (#13847) 2020-04-03 09:03:13 +02:00
tdecode_helpers.nim use hexchar in stdlib (#16290) 2020-12-17 13:41:05 +01:00
tdeques.nim use sink and lent in deques (#17661) 2021-04-07 14:17:48 +02:00
tdiff.nim experimental/diff: move isMainModule block to tests/stdlib/tdiff.nim (#16172) 2020-11-28 11:59:08 -08:00
teditdistance.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tencodings.nim [std/encodings]move to tests (#17866) 2021-04-29 09:51:54 +02:00
tenumerate.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tenumutils.nim add typetraits.OrdinalEnum, enumutils.symbolName (#17281) 2021-03-10 08:08:24 -08:00
texitprocs.nim addQuitProc now works with closures, and c, js(node/browser) backend; fix some bugs in testament (#14342) 2020-06-16 11:43:48 +02:00
tfdleak.nim make tests/stdlib tests joinable (#14626) 2020-06-15 13:27:33 +02:00
tfdleak_multiple.nim make tests/stdlib tests joinable (#14626) 2020-06-15 13:27:33 +02:00
tfenv.nim Link the <fenv.h> header (#16597) 2021-01-05 20:51:51 +01:00
tfrexp1.nim fix math.frexp function signature (#16725) 2021-02-17 19:27:48 +01:00
tgenast.nim new genAst as replacement for quote do (#17426) 2021-04-02 13:11:03 +02:00
tgetaddrinfo.nim Fix #14091 and #14093 - test failures on NetBSD (#14096) 2020-04-24 09:18:44 +02:00
tgetfileinfo.nim {.deprecated: [existsFile: fileExists].} (#14735) 2020-07-02 16:19:13 +02:00
tgetprotobyname.nim fix #16256: nimout: <empty> should give error (vacuously true); improve a few tests (#18089) 2021-05-31 13:39:19 +02:00
thashes.nim hashes for refs should be an opt-in feature (#18098) 2021-05-30 23:55:51 +02:00
theapqueue.nim Improve the heapqueue module (#17034) 2021-02-15 13:57:15 +01:00
thighlite.nim follow-up #17837: add Console for interactive sessions (#17930) 2021-05-06 10:58:01 +02:00
thtmlparser.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
thttpclient.nim Fix SIGSEGV in httpclient response body (#16766) 2021-01-22 15:04:52 +01:00
thttpclient_ssl.nim basic cleanups regarding SSL handling (#16940) [backport:1.0] 2021-02-08 13:54:03 +01:00
thttpclient_ssl_cert.pem SSL certificate verify GitHub action (#13697) 2020-03-20 17:11:39 +01:00
thttpclient_ssl_key.pem SSL certificate verify GitHub action (#13697) 2020-03-20 17:11:39 +01:00
thttpclient_standalone.nim Removed hard coded ports from thttpclient_standalone.nim. (#18374) 2021-06-30 10:22:38 -07:00
thttpcore.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
timportutils.nim make privateAccess work with generic types and generic instantiations; fix a SIGSEGV (#18260) 2021-06-19 11:24:46 -07:00
tintsets.nim packedsets fix regression introduced in #15564 (#16060) 2020-11-20 08:07:51 +01:00
tio.nim add io.readChars overload (simpler, less error prone) (#16044) 2021-02-22 20:13:08 +01:00
tisolation.nim Fix #17199 (#17348) 2021-03-26 13:05:51 +01:00
tjsbigints.nim add number literal jsbigints.big (#17707) 2021-04-13 09:33:28 +02:00
tjson.nim close #13196 now that we have dragonbox (#18316) 2021-06-21 12:51:00 +02:00
tjsonexternproc.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tjsonmacro.nim Moved json enum index test to the proper file (#16826) 2021-01-25 18:35:08 -08:00
tjsonmacro_reject.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tjsontestsuite.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tjsonutils.nim close #13196 now that we have dragonbox (#18316) 2021-06-21 12:51:00 +02:00
tlists.nim fix #16384 and #17144 (#17126) [backport] 2021-03-03 11:58:50 +01:00
tlocks.nim ref #14873 (#17644) 2021-04-06 16:21:58 +02:00
tlwip.nim Fixing issue #15302 -- lwip doesn't support signals (#15303) 2020-09-14 08:57:49 +02:00
tmacros.nim macros.treeRepr + friends: collapse SymChoice (#18072) 2021-06-05 06:58:26 +02:00
tmarshal.nim std/options: $some(3) is now "some(3)", etc. (#17147) 2021-02-24 22:17:16 +00:00
tmath.nim Fix #17017 (math edge cases) (#17588) 2021-04-01 12:47:56 +02:00
tmd5.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tmemfiles1.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tmemfiles2.nim Merge branch 'araq-devel' of github.com:nim-lang/Nim into araq-devel 2018-07-06 17:27:02 +02:00
tmemlines.nim activated more tests, allow input in test spec 2018-11-23 11:58:28 +01:00
tmemlinesBuf.nim move travis, appveyor, ci.yml.disabled to unmaintained/ (#17828) 2021-04-24 07:54:31 +02:00
tmemmapstreams.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tmemory.nim Added cmpMem export (#16484) 2020-12-29 13:27:08 +01:00
tmemslices.nim activated more tests, allow input in test spec 2018-11-23 11:58:28 +01:00
tmersenne.nim deprecate std/mersenne (#18395) 2021-07-05 10:12:58 -07:00
tmget.nim fix deprecations and other warnings (#13748) 2020-03-25 19:15:34 +01:00
tmimetypes.nim change mimedb stroe stringtable to orderedtable (#18065) 2021-06-07 13:57:42 +02:00
tmitems.nim fix #14056 (#16071) 2020-11-23 19:53:57 +01:00
tmonotimes.nim [JS + docs] improve std/monotimes module (#17103) 2021-02-22 11:09:25 +01:00
tnativesockets.nim fix #16256: nimout: <empty> should give error (vacuously true); improve a few tests (#18089) 2021-05-31 13:39:19 +02:00
tnet.nim remove some noises in tests (#16448) 2020-12-27 14:45:57 +01:00
tnet_ll.nim make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151) 2020-11-28 09:09:31 +01:00
tnetbind.nim make tests/stdlib tests joinable (#14626) 2020-06-15 13:27:33 +02:00
tnetconnect.nim fix flaky tnetconnect which sometimes failed with: No route to host [OSError] (#17526) 2021-03-27 10:22:42 +01:00
tnetdial.nim move travis, appveyor, ci.yml.disabled to unmaintained/ (#17828) 2021-04-24 07:54:31 +02:00
tnre.nim remove some noises in tests (#16448) 2020-12-27 14:45:57 +01:00
toids.nim oids: switch from PRNG to random module (#16203) 2021-01-07 09:38:31 +01:00
topenssl.nim revive PR #16320 (CRLF fix); fix #16308; Update openssl.nim (#16648) 2021-01-12 20:11:30 +01:00
toptions.nim std/options: $some(3) is now "some(3)", etc. (#17147) 2021-02-24 22:17:16 +00:00
tos.nim #18216 make moveDir work across partitions on windows (#18223) 2021-06-10 14:28:00 +02:00
tos_unc.nim fixes #10952, UNC paths (#11260) 2019-05-16 21:06:04 +02:00
tosproc.nim typo: nonexistant => nonexistent (#17918) 2021-05-02 00:26:41 +02:00
tosprocterminate.nim use lowercase --define switches (#17283) 2021-03-07 12:08:41 +01:00
tpackedsets.nim Make IntSet a generic ordinal set OrdSet[A] (#15564) 2020-11-13 14:12:51 +01:00
tparsecfg.nim Add a getter for all defined Sections in parsecfg (#15450) 2021-03-28 09:57:40 -07:00
tparsecsv.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
tparseipv6.nim added IP v6 parsing tests 2017-05-04 22:25:29 +02:00
tparsesql.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
tparseuints.nim remove some noises in tests (#16448) 2020-12-27 14:45:57 +01:00
tparseutils.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
tparsopt.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tpegs.nim Peg captures get stack-like behavior (#18369) 2021-06-28 12:33:20 +02:00
tposix.nim activated more tests, allow input in test spec 2018-11-23 11:58:28 +01:00
tprelude.nim move prelude so that include std/prelude also works (#17110) 2021-02-20 18:08:13 +01:00
tpunycode.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tquit.nim addQuitProc => addExitProc (#16765) 2021-01-22 19:51:11 +01:00
trandom.nim fix #17467 1st call to rand is now non-skewed; allow seed == 0 (#17468) 2021-05-11 11:04:59 +02:00
trationals.nim close #16921 (#16951) 2021-02-06 17:33:11 +01:00
tre.nim fix #9437(fix re.replace wrong behaviour) (#17546) 2021-06-10 18:26:58 +02:00
tregex.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tregistry.nim fix #14010(fix std/registry + arc) (#17551) 2021-03-29 10:50:58 +02:00
trepr.nim fix nim CI following #17455 (same postmortem as #17721) (#17740) 2021-04-16 11:26:05 -07:00
trlocks.nim add tests for #15584 (#15619) 2020-10-18 12:57:13 -04:00
tropes.nim Improve the ropes module (#17145) 2021-02-22 19:58:37 +01:00
trst.nim rst: fix bug 20 from #17340 (#18360) 2021-06-26 18:10:46 +02:00
trstgen.nim validate rst field for :number-lines:, :status: (#18304) 2021-06-20 20:00:42 +02:00
tsequtils.nim Improve sequtils documentation (#16559) 2021-01-04 11:04:30 +01:00
tsetutils.nim add setutils.[]= (#17272) 2021-03-08 10:39:39 +01:00
tsha1.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
tsharedlist.nim fixes #17696 (#18276) 2021-06-16 11:31:20 +02:00
tsharedtable.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tsince.nim move since from inclrtl to std/private/since (#14188) 2020-05-02 23:51:59 +02:00
tsocketstreams.nim Implements streams for sockets (#15729) 2021-01-07 16:09:57 +01:00
tsortcall.nim activated more tests, allow input in test spec 2018-11-23 11:58:28 +01:00
tsqlitebindatas.nim Handle BLOB column type in SQLite as binary data (#15681) 2020-11-02 13:02:55 +01:00
tsqlparser.nim megatest can be executed 2018-12-11 21:23:21 +01:00
tssl.nim workaround #15713 disable freebsd tssl.nim (#15718) 2020-10-26 03:10:38 +02:00
tssl.nims Fix #15493 - disable TLS emulation for NetBSD (#15494) 2020-10-05 12:00:06 +02:00
tstackframes.nim trunner was not actually being tested in non-CTFFI mode; minor testament cleanups (#14377) 2020-05-19 09:41:31 +02:00
tstats.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
tstdlib_issues.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
tstdlib_various.nim refactor cmpIgnoreStyle and cmpIgnoreCase (#16399) 2020-12-31 11:54:40 +01:00
tstrbasics.nim re-enable disabled tests after #17173 (#17228) 2021-03-02 12:53:05 +01:00
tstreams.nim active windows tests and use doAssert (#16395) 2020-12-18 16:45:51 +01:00
tstrformat.nim followup strformat PR. backslash escapes, tests, docs (#17700) 2021-04-12 07:32:37 +02:00
tstring.nim cleanup tests/stdlib/tstring.nim (#17158) 2021-02-24 13:47:36 +01:00
tstrmiscs.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
tstrscans.nim Added strscans.scanTuple (#16300) 2020-12-12 23:29:20 +01:00
tstrset.nim the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
tstrtabs.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tstrtabs.nims [FIX] strtabs interpolation in nimscript (#15172) 2020-08-09 14:12:53 +02:00
tstrutils.nim add string-string tests for find and rfind (#18137) 2021-06-02 16:19:30 +02:00
tstrutils2.nim fix #14545 windows CI docs (#14590) 2020-06-10 14:10:57 +02:00
tsugar.nim fix #16967 [backport:1.2] (#16976) 2021-02-09 13:04:36 +01:00
tsums.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tsysrand.nim Revert "make system random work in VM" (#17378) 2021-03-15 10:21:25 +01:00
tsystem.nim Raise IndexDefect when deleting element at out of bounds index (#17821) 2021-06-20 08:56:33 -07:00
ttables.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
ttasks.nim add std/tasks (#17447) 2021-04-09 11:51:51 +02:00
ttempfiles.nim improve std/tempfiles (#17920) 2021-05-11 16:35:43 +02:00
tterminal.nim terminal: fix fgColor/bgColor commands [backport] (#15554) 2020-10-13 17:39:32 +01:00
tterminal_12759.nim Fix #12759 (#14967) 2020-07-12 03:31:03 -04:00
tterminal_15874.nim follow #15874(add testcase for #15874) (#15893) 2020-11-10 09:23:58 +08:00
ttestutils.nim testament :show duration also for failed tests; improve tshould_not_work; mitigate #17946 tchannels timeouts (#17947) 2021-05-08 17:13:47 +02:00
tthreadpool.nim add testcase for #12005 (#17278) 2021-03-08 14:37:52 +01:00
ttimes.nim refs #4347, add ZZZ and ZZZZ patterns for timezone offsets without colons (#17318) 2021-03-11 16:32:50 +01:00
ttypeinfo.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
ttypetraits.nim Add hasClosure to std/typetraits (#17501) 2021-03-29 14:22:29 +02:00
tunicode.nim fixes #17768 [backport:1.4] (#18317) 2021-06-21 12:50:47 +02:00
tunidecode.nim tunidecode minor improvement (#16157) 2020-11-27 12:41:22 +08:00
tunittest.nim remove deprecated stuff in unittest module (#17156) 2021-02-24 21:02:33 +01:00
tunittest_error.nim fix #14475; unittest.require now works with nim c; require and check now works with -d:nodejs (#14676) 2020-07-14 13:14:32 +02:00
tunittestexceptiontype.nim Added: type name output when exception raised from unittest (#7869) 2018-05-28 05:24:04 +03:00
tunittestpass.nim fix #16474 unittest.check type1 is type2 gives CT error (#16476) 2020-12-27 09:16:53 +01:00
tunittesttemplate.nim fix several bugs with repr (#13386) 2020-02-11 21:33:06 +01:00
turi.nim Revert "Fix parseUri to sanitize urls containing ASCII newline or tab (#17967)" (#17984) 2021-05-09 23:33:31 +02:00
tuserlocks.nim replace defer with try ... finally (#17753) 2021-04-17 11:48:22 +02:00
tvarargs.nim close #15563 add testcase (#17168) 2021-02-24 13:44:10 +01:00
tvarints.nim fix #16256: nimout: <empty> should give error (vacuously true); improve a few tests (#18089) 2021-05-31 13:39:19 +02:00
tvmutils.nim enable VM tracing in user code via {.define(nimVmTrace).} (#18244) 2021-06-24 11:55:31 +02:00
twchartoutf8.nim make more tests green 2018-04-30 11:16:56 +02:00
twith.nim move rest of tests to testament (#16140) 2020-11-27 20:47:49 +01:00
twordwrap.nim move rest of tests to testament (#16140) 2020-11-27 20:47:49 +01:00
twrapnils.nim major improvements to std/wrapnils: optimal codegen, case objects, lvalue semantics (#18435) 2021-07-07 06:04:36 +02:00
txmltree.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
uselocks.nim Revert "fix #14873 properly by skipping abi field in importc type (#17944)" (#17992) 2021-05-15 06:50:39 +02:00