Skip to content

Commit 5ffca1a

Browse files
committed
Fix the test on fr-FR OS
1 parent b92b649 commit 5ffca1a

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

test/DeadKeyTest.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ public void DeadKeyShouldBeIgnored()
1111
Skip.If(this.Fixture.Lang != "fr-FR", "The dead key test requires Keyboard layout to be set to 'fr-FR'");
1212
TestSetup(KeyMode.Cmd);
1313

14-
Test("aa", Keys("aa", _.DeadKey_Backtick));
15-
Test("aab", Keys("aa", _.DeadKey_Backtick, 'b'));
16-
17-
Test("aa", Keys("aa", _.DeadKey_Tilde));
18-
Test("aab", Keys("aa", _.DeadKey_Tilde, 'b'));
14+
Test("aa", Keys("aa", _.DeadKey_Caret));
15+
Test("aab", Keys("aa", _.DeadKey_Caret, 'b'));
1916
}
2017
}
2118
}

test/KeyInfo-fr-FR-windows.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,17 +1638,10 @@
16381638
"Investigate": false
16391639
},
16401640
{
1641-
"Key": "DeadKey_Backtick",
1641+
"Key": "DeadKey_Caret",
16421642
"KeyChar": "\u0000",
1643-
"ConsoleKey": "D7",
1644-
"Modifiers": "Alt",
1645-
"Investigate": false
1646-
},
1647-
{
1648-
"Key": "DeadKey_Tilde",
1649-
"KeyChar": "\u0000",
1650-
"ConsoleKey": "D2",
1651-
"Modifiers": "Alt",
1643+
"ConsoleKey": "Oem6",
1644+
"Modifiers": "0",
16521645
"Investigate": false
16531646
}
16541647
]

0 commit comments

Comments
 (0)