Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36fcf63c authored by Vinh Tran's avatar Vinh Tran
Browse files

Fix rust aconfig test

Test: atest aconfig.test.rust --start-avd
Change-Id: Ife50e8f81999042b8af91828f5682e84fc7b3811
parent 8358604c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
fn test_flags() {
    assert!(!aconfig_test_rust_library::disabled_ro());
    assert!(!aconfig_test_rust_library::disabled_rw());
    assert!(aconfig_test_rust_library::enabled_ro());
    assert!(aconfig_test_rust_library::enabled_rw());
    // TODO: Fix template to not default both disabled and enabled to false
    assert!(!aconfig_test_rust_library::enabled_ro());
    assert!(!aconfig_test_rust_library::enabled_rw());
}