1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2025-09-22 13:33:14 -04:00

tests1 solution

This commit is contained in:
mo8it 2024-06-27 16:29:03 +02:00
commit a4f8826301
3 changed files with 34 additions and 9 deletions
rustlings-macros

View file

@ -851,9 +851,6 @@ hint = """Let the compiler guide you :)"""
name = "tests1"
dir = "17_tests"
hint = """
You don't even need to write any code to test -- you can just test values and
run that, even though you wouldn't do that in real life. :)
`assert!` is a macro that needs an argument. Depending on the value of the
argument, `assert!` will do nothing (in which case the test will pass) or
`assert!` will panic (in which case the test will fail).