summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-10-05 03:28:13 +0800
committerGitHub <noreply@github.com>2021-10-04 21:28:13 +0200
commite7bac9177335c75b4eeed18ec5f8a0b0489c0561 (patch)
tree877f205aaaa41cd2bc2131541ec888c18350c913 /tests
parentf017eadc97b041e678196cb2b72c3c66767e7ab0 (diff)
downloadNim-e7bac9177335c75b4eeed18ec5f8a0b0489c0561.tar.gz
rename nimEnableHashRef [backport] (#18941)
* rename nimEnableHashRef [backport]
* Apply suggestions from code review

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/collections/ttables.nim1
-rw-r--r--tests/config.nims1
-rw-r--r--tests/stdlib/thashes.nim1
3 files changed, 1 insertions, 2 deletions
diff --git a/tests/collections/ttables.nim b/tests/collections/ttables.nim
index 751509062..638f4241b 100644
--- a/tests/collections/ttables.nim
+++ b/tests/collections/ttables.nim
@@ -8,7 +8,6 @@ And we get here
 '''
 joinable: false
 targets: "c cpp js"
-matrix: "-d:nimEnableHashRef"
 """
 
 # xxx wrap in a template to test in VM, see https://github.com/timotheecour/Nim/issues/534#issuecomment-769565033
diff --git a/tests/config.nims b/tests/config.nims
index ed2a1b7e9..894c4bea0 100644
--- a/tests/config.nims
+++ b/tests/config.nims
@@ -39,3 +39,4 @@ switch("define", "nimExperimentalLinenoiseExtra")
 switch("define", "nimPreviewFloatRoundtrip")
 switch("define", "nimPreviewDotLikeOps")
 switch("define", "nimPreviewJsonutilsHoleyEnum")
+switch("define", "nimPreviewHashRef")
diff --git a/tests/stdlib/thashes.nim b/tests/stdlib/thashes.nim
index 1e9b02d0c..46576ef12 100644
--- a/tests/stdlib/thashes.nim
+++ b/tests/stdlib/thashes.nim
@@ -1,6 +1,5 @@
 discard """
   targets: "c cpp js"
-  matrix: "-d:nimEnableHashRef"
 """
 
 import std/hashes