Mercurial > crates > nonstick
comparison libpam-sys/libpam-sys-impls/src/lib.rs @ 113:178310336596
Fix up more constants, make things i32 rather than u32.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Jun 2025 03:11:33 -0400 |
parents | 2346fd501b7a |
children |
comparison
equal
deleted
inserted
replaced
112:82995b4dccee | 113:178310336596 |
---|---|
268 ("Sun", ("LinuxPam")), | 268 ("Sun", ("LinuxPam")), |
269 ("OpenPam", (any("LinuxPam", "Sun"))), | 269 ("OpenPam", (any("LinuxPam", "Sun"))), |
270 ("One", (not(any("One", "Another")))), | 270 ("One", (not(any("One", "Another")))), |
271 ("Negatory", (not(not("Affirmative")))), | 271 ("Negatory", (not(not("Affirmative")))), |
272 ("MinimalOpenPam", ("OpenPam")), | 272 ("MinimalOpenPam", ("OpenPam")), |
273 ("OpenPam", (("MinimalOpenPam"))), | 273 ("OpenPam", ("MinimalOpenPam")), |
274 ]; | 274 ]; |
275 for (bad, tree) in nonmatching { | 275 for (bad, tree) in nonmatching { |
276 let pred = parse(tree); | 276 let pred = parse(tree); |
277 assert!(!pred.matches(bad)) | 277 assert!(!pred.matches(bad)) |
278 } | 278 } |