mirror of https://github.com/Textualize/rich.git
highlighter tests
This commit is contained in:
parent
cd4f00ff34
commit
51074a86c2
|
@ -13,6 +13,7 @@ def test_wrong_type():
|
||||||
|
|
||||||
|
|
||||||
highlight_tests = [
|
highlight_tests = [
|
||||||
|
("( ) { } [ ]", [Span(0, 1, "repr.brace")]),
|
||||||
("01-23-45-67-89-AB", [Span(0, 17, "repr.eui48")]), # 6x2 hyphen
|
("01-23-45-67-89-AB", [Span(0, 17, "repr.eui48")]), # 6x2 hyphen
|
||||||
("01-23-45-FF-FE-67-89-AB", [Span(0, 23, "repr.eui64")]), # 8x2 hyphen
|
("01-23-45-FF-FE-67-89-AB", [Span(0, 23, "repr.eui64")]), # 8x2 hyphen
|
||||||
("01:23:45:67:89:AB", [Span(0, 17, "repr.ipv6")]), # 6x2 colon
|
("01:23:45:67:89:AB", [Span(0, 17, "repr.ipv6")]), # 6x2 colon
|
||||||
|
|
Loading…
Reference in New Issue