summaryrefslogtreecommitdiff
path: root/tests/fixture/success/info.toml
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/success/info.toml
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/success/info.toml')
-rw-r--r--tests/fixture/success/info.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/fixture/success/info.toml b/tests/fixture/success/info.toml
index e255db9..68d3538 100644
--- a/tests/fixture/success/info.toml
+++ b/tests/fixture/success/info.toml
@@ -1,7 +1,11 @@
[[exercises]]
+name = "compSuccess"
path = "compSuccess.rs"
mode = "compile"
+hint = """"""
[[exercises]]
+name = "testSuccess"
path = "testSuccess.rs"
-mode = "test" \ No newline at end of file
+mode = "test"
+hint = """"""