This repository has been archived on 2023-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
rustlings-exercises-completed/exercises
Dylan Nugent 5b1e673cec fix(primitive_types4): Fail on a slice covering the wrong area
This commit converts primitive_types4 to a test and asserts that the
slice given is equal to the expected slice.

The intent of the primitive_types4 exercise appears to be to ensure the
user understands inclusive and exclusive bounds as well as slice syntax.
`rustlings` commands using `compile` do not verify that a specific
println is reached and, in the case of `watch` and `verify` (but not
`run`), they do not output the `println`s at all.

This fix is semantically similar to #198. It does not take a stance on
the correct way to handle this for all exercises; see #127. There are
likely other exercises whose intent are masked by this issue.
2019-08-17 17:16:19 -07:00
..
error_handling fix(option1): Add test for prematurely passing exercise 2019-07-26 16:58:12 -07:00
functions Auto merge of #172 - miller-time:fix-book-links, r=komaeda 2019-06-23 10:31:50 +00:00
if Auto merge of #172 - miller-time:fix-book-links, r=komaeda 2019-06-23 10:31:50 +00:00
macros chore: Fix a couple broken book links 2019-06-11 07:13:05 -07:00
modules Auto merge of #172 - miller-time:fix-book-links, r=komaeda 2019-06-23 10:31:50 +00:00
move_semantics Auto merge of #172 - miller-time:fix-book-links, r=komaeda 2019-06-23 10:31:50 +00:00
primitive_types fix(primitive_types4): Fail on a slice covering the wrong area 2019-08-17 17:16:19 -07:00
standard_library_types chore: Correct typo 2019-08-12 11:45:40 +02:00
strings chore: Fix a couple broken book links 2019-06-11 07:13:05 -07:00
structs docs: Fix wrong title 2019-07-27 22:14:48 +07:00
tests chore: Fix a couple broken book links 2019-06-11 07:13:05 -07:00
threads chore: Fix a couple broken book links 2019-06-11 07:13:05 -07:00
variables chore: Fix a couple broken book links 2019-06-11 07:13:05 -07:00
test1.rs fix(test1): Swap assertion parameter order 2019-07-13 13:31:57 +01:00
test2.rs Add errors to exercises that compile without user changes 2019-04-22 00:09:30 +02:00
test3.rs chore: Clean up some formatting in exercises 2019-06-11 07:14:43 -07:00
test4.rs add tests; refactor exercise links 2019-01-23 20:48:01 +01:00