aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode
diff options
context:
space:
mode:
Diffstat (limited to 'test/protected_mode')
-rw-r--r--test/protected_mode/regspec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/protected_mode/regspec.rs b/test/protected_mode/regspec.rs
index aeca086..8f32142 100644
--- a/test/protected_mode/regspec.rs
+++ b/test/protected_mode/regspec.rs
@@ -11,7 +11,7 @@ fn test_hash() {
let _: HashMap<RegSpec, u64> = HashMap::new();
}
-#[cfg(features="fmt")]
+#[cfg(feature="fmt")]
#[test]
fn test_labels() {
assert_eq!(RegSpec::eip().name(), "eip");
@@ -20,7 +20,7 @@ fn test_labels() {
assert_eq!(RegSpec::al().name(), "al");
}
-#[cfg(features="fmt")]
+#[cfg(feature="fmt")]
#[test]
fn test_bank_names() {
assert_eq!(RegSpec::al().class().name(), "byte");