]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/listings/ch11-writing-automated-tests/no-listing-09-guess-with-panic-msg-bug/output.txt
New upstream version 1.63.0+dfsg1
[rustc.git] / src / doc / book / listings / ch11-writing-automated-tests / no-listing-09-guess-with-panic-msg-bug / output.txt
index ca13febae3abe68610c720519d9c1df5eba75c07..c8cba98fe0d430b8e36054ccf17a52c89fe4798c 100644 (file)
@@ -1,7 +1,7 @@
 $ cargo test
    Compiling guessing_game v0.1.0 (file:///projects/guessing_game)
     Finished test [unoptimized + debuginfo] target(s) in 0.66s
-     Running unittests (target/debug/deps/guessing_game-57d70c3acb738f4d)
+     Running unittests src/lib.rs (target/debug/deps/guessing_game-57d70c3acb738f4d)
 
 running 1 test
 test tests::greater_than_100 - should panic ... FAILED
@@ -13,7 +13,7 @@ thread 'main' panicked at 'Guess value must be greater than or equal to 1, got 2
 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 note: panic did not contain expected string
       panic message: `"Guess value must be greater than or equal to 1, got 200."`,
- expected substring: `"Guess value must be less than or equal to 100"`
+ expected substring: `"less than or equal to 100"`
 
 failures:
     tests::greater_than_100