Skip to content

Commit 594515b

Browse files
authored
Moved tests section to bottom of package.yaml to avoid issues with test-runner code injection (#1213)
1 parent 812f4db commit 594515b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

exercises/practice/parallel-letter-frequency/package.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ library:
1414
# - foo # List here the packages you
1515
# - bar # want to use in your solution.
1616

17-
tests:
18-
test:
19-
main: Tests.hs
20-
source-dirs: test
21-
dependencies:
22-
- parallel-letter-frequency
23-
- hspec
24-
2517
benchmarks:
2618
bench:
2719
ghc-options: -threaded -with-rtsopts=-N -O2
@@ -31,3 +23,11 @@ benchmarks:
3123
dependencies:
3224
- parallel-letter-frequency
3325
- criterion
26+
27+
tests:
28+
test:
29+
main: Tests.hs
30+
source-dirs: test
31+
dependencies:
32+
- parallel-letter-frequency
33+
- hspec

0 commit comments

Comments
 (0)