summary refs log tree commit diff stats
path: root/tests/vm/tcompilesetting.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-11 03:01:18 -0700
committerGitHub <noreply@github.com>2020-05-11 12:01:18 +0200
commit9502e39b634eea8e04f07ddc110b466387f42322 (patch)
tree240ffa98d6f1d556986dccbb66e9f5e0e81675e4 /tests/vm/tcompilesetting.nim
parentd11cb9d49596957e9fa097110cf19e9caf085592 (diff)
downloadNim-9502e39b634eea8e04f07ddc110b466387f42322.tar.gz
`nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, `--doccmd:skip` + other improvements (#14278)
* `nim doc --backend:js|cpp...`
`nim doc --doccmd:'-d:foo --threads:on'`
`nim r --backend:cpp...` (implies --run --usenimcache)
* --usenimcache works with all targets
* --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst
Diffstat (limited to 'tests/vm/tcompilesetting.nim')
-rw-r--r--tests/vm/tcompilesetting.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vm/tcompilesetting.nim b/tests/vm/tcompilesetting.nim
index 79527d584..98565ab94 100644
--- a/tests/vm/tcompilesetting.nim
+++ b/tests/vm/tcompilesetting.nim
@@ -17,3 +17,4 @@ static:
 
 doAssert "myNimCache" in nc
 doAssert "myNimblePath" in np[0]
+doAssert querySetting(backend) == "c"