Fix failing test in winit prefs (#30186)

This commit is contained in:
Atbrakhi 2023-08-24 08:22:33 +02:00 committed by GitHub
parent 2223aad9d7
commit 41ae460270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ fn test_parse_pref_from_command_line() {
prefs::pref_map().get("dom.bluetooth.enabled"),
PrefValue::Bool(false)
);
assert!(pref!(dom.bluetooth.enabled));
assert_eq!(pref!(dom.bluetooth.enabled), false);
// Test with numbers
test_parse_pref("layout.threads=42");