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