Test: assert! instead of assert_eq! on a bool 5259a3af8ee6
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-09-26 22:27 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
5259a3af8ee6ee8ce93d04a51f1402efb46b46d95363320a7ad99f05df0eabff- Depends on
- 7421309f5372 982864068a59
- Depended on by
- 05e71ed6cdf1
- In bookmarks
- agents-in-readme bare-hashes carried-not-removed carry-identical doctor-trust identical-sides keyless-tags main merge-remote-bookmark only-help-103 paths-for-resolutions-and-amend push-notes show-stat subrepo-pin-state switch-says
- In tags
- v0.1.0 v0.10.0 v0.11.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.4.3 v0.4.4 v0.4.5 v0.4.6 v0.5.0 v0.5.1 v0.6.0 v0.7.0 v0.8.0 v0.9.0
- Edits
- 2 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified crates/oxy-core/src/repo/tests.rs +1 −1
| … | 1234 unchanged lines |
||
| 1235 | 1235 | assert!(!root.join("a/docs").exists() && !root.join("a/README.md").exists()); |
|
| 1236 | 1236 | assert!(!a.store().has(&Repo::blob_ref(&logo)), "out-of-scope blob never fetched"); |
|
| 1237 | 1237 | assert!(!a.snapshot("status").unwrap().changed, "out-of-scope files are not removals"); |
|
| 1238 | - | assert_eq!(a.quick_status().unwrap().dirty, false); |
|
| 1238 | + | assert!(!a.quick_status().unwrap().dirty); |
|
| 1239 | 1239 | ||
| 1240 | 1240 | // Edits in scope commit normally and keep the rest of the tree intact. |
|
| 1241 | 1241 | write(&root.join("a"), "src/lib.rs", b"pub fn a() {}\npub fn b() {}\n"); |
|
| … | 23 unchanged lines |