summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-05-11 11:36:23 -0400
committerpommicket <pommicket@gmail.com>2023-05-11 11:36:23 -0400
commit79724dc47d0fe9b6ceaa21cd3af1052bdcaea653 (patch)
tree1fa8b5f0c9fd7575b80f405bb83aee0aadf1871f /test
parent2794f396484bc8f1fb29190478c668cda22ce22d (diff)
improve number syntax highligting
Diffstat (limited to 'test')
-rw-r--r--test/test.cpp1
-rw-r--r--test/test.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test.cpp b/test/test.cpp
index e373bff..d976e4d 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -52,6 +52,7 @@ void print_option(Option<T> const &o) {
}
int main() {
+ int my_num = 0b10011'101011'1010111lu >> 0x349.4p2;
Option<int> o(7);
print_option(o);
o.clear();
diff --git a/test/test.rs b/test/test.rs
index 40c2438..3d938f2 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -25,6 +25,6 @@ let x = lines.
}
print!("
string
- ");
+ {}", 1usize);
Ok(())
}