diff options
author | flywind <43030857+xflywind@users.noreply.github.com> | 2021-01-04 04:40:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 11:40:56 +0100 |
commit | 7c2c1ad0724c1a20063a7669912cdaf8767145e0 (patch) | |
tree | 21646bb64ef821111db0dfe418c4025f71b40f89 | |
parent | acf3715ea808d6ca5cfd94a340205d588fd50969 (diff) | |
download | Nim-7c2c1ad0724c1a20063a7669912cdaf8767145e0.tar.gz |
enable tmath tests for JS backend (#16562)
-rw-r--r-- | tests/stdlib/tmath.nim | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/stdlib/tmath.nim b/tests/stdlib/tmath.nim index 1b6fb4e9f..4176f70e8 100644 --- a/tests/stdlib/tmath.nim +++ b/tests/stdlib/tmath.nim @@ -1,13 +1,12 @@ discard """ - action: run - matrix:"; -d:nimTmathCase2 -d:danger --passc:-ffast-math" + targets: "c cpp js" """ -# xxx: fix bugs for js then add: targets:"c js" +## xxx enable matrix:"; -d:nimTmathCase2 -d:danger --passc:-ffast-math" -import math, random, os -import unittest -import sets, tables +import std/[math, random, os] +import std/[unittest] +import std/[sets, tables] block: # random int block: # there might be some randomness |