summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-01-20 02:08:42 -0800
committerGitHub <noreply@github.com>2021-01-20 11:08:42 +0100
commit14730d9d64c0d4a9c1f123a21a2894cfbd1ed314 (patch)
treec05e9213611677b7443755035f61d10058dea5be /tests
parentccb11a63fb7bf4cf44a23e1b42334fd4c0664422 (diff)
downloadNim-14730d9d64c0d4a9c1f123a21a2894cfbd1ed314.tar.gz
fix noDecl => nodecl (#16760)
* fix noDecl => nodecl

* address comment

* disable flaky tests/stdlib/thttpclient.nim on freebsd
Diffstat (limited to 'tests')
-rw-r--r--tests/js/tclosures.nim2
-rw-r--r--tests/stdlib/thttpclient.nim1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/js/tclosures.nim b/tests/js/tclosures.nim
index 3137123bf..4f1c28de3 100644
--- a/tests/js/tclosures.nim
+++ b/tests/js/tclosures.nim
@@ -22,7 +22,7 @@ asm """
     function print (text) { console.log (text); }
 """
 
-proc consoleprint (str:cstring): void {.importc: "print", noDecl.}
+proc consoleprint (str:cstring): void {.importc: "print", nodecl.}
 proc print* (a: varargs[string, `$`]) = consoleprint "$1: $2" % [consolePrefix, join(a, " ")]
 
 type CallbackProc {.importc.} = proc () : cstring
diff --git a/tests/stdlib/thttpclient.nim b/tests/stdlib/thttpclient.nim
index 1bf3ab893..0cef10e6d 100644
--- a/tests/stdlib/thttpclient.nim
+++ b/tests/stdlib/thttpclient.nim
@@ -1,6 +1,7 @@
 discard """
   cmd: "nim c --threads:on -d:ssl $file"
   disabled: "openbsd"
+  disabled: "freebsd"
   disabled: "windows"
 """