about summary refs log tree commit diff
path: root/pkgs/profpatsch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/profpatsch')
-rw-r--r--pkgs/profpatsch/nman/nman.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/profpatsch/nman/nman.rs b/pkgs/profpatsch/nman/nman.rs
index bc7810ed..d7a37fca 100644
--- a/pkgs/profpatsch/nman/nman.rs
+++ b/pkgs/profpatsch/nman/nman.rs
@@ -409,9 +409,10 @@ mod tests {
         assert!(parse_man_section("8").is_ok());
         assert!(parse_man_section("9").is_ok());
 
-        assert!(!parse_man_section("man").is_ok());
-        assert!(!parse_man_section("ocamlPackages.sexp").is_ok());
-        assert!(!parse_man_section("lowdown").is_ok());
+        assert!(parse_man_section("man").is_err());
+        assert!(parse_man_section("ocamlPackages.sexp").is_err());
+        assert!(parse_man_section("lowdown").is_err());
+        assert!(parse_man_section("").is_err());
     }
 
     #[test]