prevent common user config to interfere with testament (#10573)

This commit is contained in:
Timothee Cour
2019-02-06 00:41:05 -08:00
committed by Andreas Rumpf
parent 4c3f841212
commit cf8366a569
2 changed files with 6 additions and 1 deletions

6
tests/config.nims Normal file
View File

@@ -0,0 +1,6 @@
switch("path", "$nim/testament/lib") # so we can `import stdtest/foo` in this dir
## prevent common user config settings to interfere with testament expectations
## Indifidual tests can override this if needed to test for these options.
switch("colors", "off")
switch("listFullPaths", "off")

View File

@@ -1 +0,0 @@
--path:"../testament/lib" # so we can `import stdtest/foo` in this dir