We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7218a75 commit 68a4191Copy full SHA for 68a4191
src/language_id.rs
@@ -102,8 +102,8 @@ mod test {
102
103
#[test]
104
fn test_lang_to_id() {
105
- assert_eq!(4003, lang_to_id("C++ (GCC 9.2.1)").unwrap());
106
- assert_eq!(4067, lang_to_id("Vim (8.2.0460)").unwrap());
+ assert_eq!(5001, lang_to_id("C++ 20 (gcc 12.2)").unwrap());
+ assert_eq!(5002, lang_to_id("Go (go 1.20.6)").unwrap());
107
assert!(lang_to_id("Vim").is_err());
108
}
109
0 commit comments