aboutsummaryrefslogtreecommitdiff
path: root/tests/rust-test/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust-test/src/main.rs')
-rw-r--r--tests/rust-test/src/main.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/rust-test/src/main.rs b/tests/rust-test/src/main.rs
index 019c3d4..ba165d0 100644
--- a/tests/rust-test/src/main.rs
+++ b/tests/rust-test/src/main.rs
@@ -7,7 +7,6 @@ include!("../../osx2xkb.rs");
include!("../../osx_name.rs");
include!("../../osx.rs");
-#[test]
fn main() {
assert_eq!(CODE_MAP_OSX_TO_WIN32[0x1d], 0x30);
assert_eq!(NAME_MAP_OSX_TO_WIN32[0x1d], "VK_0");
@@ -21,3 +20,9 @@ fn main() {
assert_eq!(CODE_TABLE_OSX[0x1d], 0x3b);
assert_eq!(NAME_TABLE_OSX[0x1d], "Control");
}
+
+
+#[test]
+fn test() {
+ main()
+}