From 862d7798ef8b45931b16f7a3ec480bda5a15f9b3 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Mon, 12 Oct 2020 18:52:52 +0100 Subject: [PATCH] scientific notation --- tests/test_highlighter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_highlighter.py b/tests/test_highlighter.py index 9289b2c1..b88fa223 100644 --- a/tests/test_highlighter.py +++ b/tests/test_highlighter.py @@ -38,6 +38,7 @@ highlight_tests = [ (" 1 ", [Span(1, 2, "repr.number")]), (" 1.2 ", [Span(1, 4, "repr.number")]), (" 0xff ", [Span(1, 5, "repr.number")]), + (" 1e10 ", [Span(1, 5, "repr.number")]), (" /foo ", [Span(1, 2, "repr.path"), Span(2, 5, "repr.filename")]), (" /foo/bar.html ", [Span(1, 6, "repr.path"), Span(6, 14, "repr.filename")]), ("01-23-45-67-89-AB", [Span(0, 17, "repr.eui48")]), # 6x2 hyphen