summaryrefslogtreecommitdiff
path: root/tests/fixture/failure
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-11 16:51:12 +0000
committerbors <bors@rust-lang.org>2019-11-11 16:51:12 +0000
commit9544ba10294d4959b0a761c04d86ef8ceeba3838 (patch)
treedbdd23fad66b796a9fefc04174b50566a7d269a1 /tests/fixture/failure
parent9a9007abae86c3b1b1c09778a6544ced54ea4453 (diff)
parent1a7bb5a4005e66665d2618b20bea132f009b79f9 (diff)
Auto merge of #231 - rust-lang:refactor-hints, r=jrvidal
Refactor hints Breaking change. This removes hints from the end of files, and puts them into `info.toml`. You can now access hints using: ``` rustlings hint <exerciseName> ``` ALSO this changes the exercise system to index by name for `run` and `hint`, so: ``` rustlings run exercises/if/if1.rs ``` becomes ``` rustlings run if1 ```
Diffstat (limited to 'tests/fixture/failure')
-rw-r--r--tests/fixture/failure/info.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/fixture/failure/info.toml b/tests/fixture/failure/info.toml
index f4e7c0c..e5949f9 100644
--- a/tests/fixture/failure/info.toml
+++ b/tests/fixture/failure/info.toml
@@ -1,7 +1,11 @@
[[exercises]]
+name = "compFailure"
path = "compFailure.rs"
mode = "compile"
+hint = ""
[[exercises]]
+name = "testFailure"
path = "testFailure.rs"
-mode = "test" \ No newline at end of file
+mode = "test"
+hint = "Hello!"