diff options
| author | mo8it <mo8it@proton.me> | 2024-06-28 02:26:35 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-28 02:26:35 +0200 |
| commit | 4f71f74b444ab35e0de0c4bd9a01a7e438057c01 (patch) | |
| tree | 0f759b2c94d1358c213ce2b950469ddd77d687d7 /exercises/17_tests | |
| parent | cf9041c0e42120199e09e74e65c52d69c00db19c (diff) | |
Use todo!() instead of ???
Diffstat (limited to 'exercises/17_tests')
| -rw-r--r-- | exercises/17_tests/tests3.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/17_tests/tests3.rs b/exercises/17_tests/tests3.rs index 9fc9318..ec99479 100644 --- a/exercises/17_tests/tests3.rs +++ b/exercises/17_tests/tests3.rs @@ -29,8 +29,8 @@ mod tests { // TODO: This test should check if the rectangle has the size that we // pass to its constructor. let rect = Rectangle::new(10, 20); - assert_eq!(???, 10); // Check width - assert_eq!(???, 20); // Check height + assert_eq!(todo!(), 10); // Check width + assert_eq!(todo!(), 20); // Check height } // TODO: This test should check if the program panics when we try to create |
