clean up imports, unittest2
This commit is contained in:
parent
5213d397f9
commit
fcd0eadadd
|
@ -0,0 +1,2 @@
|
|||
nimcache/
|
||||
tests/test_all
|
|
@ -1,10 +1,10 @@
|
|||
import
|
||||
typetraits,
|
||||
stew/shims/macros, faststreams,
|
||||
serialization/[object_serialization, errors, formats]
|
||||
std/typetraits,
|
||||
stew/shims/macros, faststreams/[inputs, outputs],
|
||||
./serialization/[object_serialization, errors, formats]
|
||||
|
||||
export
|
||||
faststreams, object_serialization, errors, formats
|
||||
inputs, outputs, object_serialization, errors, formats
|
||||
|
||||
template encode*(Format: type, value: auto, params: varargs[untyped]): auto =
|
||||
mixin init, Writer, writeValue, PreferredOutputType
|
||||
|
|
|
@ -9,6 +9,7 @@ skipDirs = @["tests"]
|
|||
|
||||
requires "nim >= 1.2.0",
|
||||
"faststreams",
|
||||
"unittest2",
|
||||
"stew"
|
||||
|
||||
task test, "Run all tests":
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import
|
||||
stew/shims/macros, stew/objects,
|
||||
errors
|
||||
./errors
|
||||
|
||||
type
|
||||
DefaultFlavor* = object
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import
|
||||
unittest, times, typetraits, random, strutils, options, sets, tables,
|
||||
std/[times, typetraits, random, strutils, options, sets, tables],
|
||||
unittest2,
|
||||
faststreams/inputs,
|
||||
../../serialization, ../object_serialization
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import
|
||||
typetraits, unittest,
|
||||
typetraits, unittest2,
|
||||
stew/shims/macros, stew/objects,
|
||||
../serialization/object_serialization,
|
||||
../serialization/testing/generic_suite
|
||||
|
||||
{.used.}
|
||||
|
||||
suite "object serialization":
|
||||
setup:
|
||||
var fieldsList = newSeq[string]()
|
||||
|
|
Loading…
Reference in New Issue