@@ -28,6 +28,19 @@ Homepage: http://www.greenwoodsoftware.com/less";
2828 assert_eq!(Some(487), parse_less_version(output));
2929}
3030
31+#[test]
32+fn test_parse_less_version_529() {
33+ let output = b"less 529 (Spencer V8 regular expressions)
34+Copyright (C) 1984-2017 Mark Nudelman
35+
36+less comes with NO WARRANTY, to the extent permitted by law.
37+For information about the terms of redistribution,
38+see the file named README in the less distribution.
39+Homepage: http://www.greenwoodsoftware.com/less";
40+
41+ assert_eq!(Some(529), parse_less_version(output));
42+}
43+
3144#[test]
3245fn test_parse_less_version_551() {
3346 let output = b"less 551 (PCRE regular expressions)