From 5f2aeeccffefe586dee3080debd8fe06a159aef7 Mon Sep 17 00:00:00 2001 From: Thomas Ave Date: Tue, 31 May 2016 14:22:25 +0200 Subject: [PATCH] Updated tests for highlighter after fix --- .../SyntaxHighlighter/src/attributelexer.lxs | 2 +- tests/highlighter_5.exp | 82 +++++++++---------- tests/highlighter_7.exp | 12 +-- 3 files changed, 48 insertions(+), 48 deletions(-) diff --git a/examples/SyntaxHighlighter/src/attributelexer.lxs b/examples/SyntaxHighlighter/src/attributelexer.lxs index 6358701..67b6129 100644 --- a/examples/SyntaxHighlighter/src/attributelexer.lxs +++ b/examples/SyntaxHighlighter/src/attributelexer.lxs @@ -3,4 +3,4 @@ WHITESPACE = [ ]* ATTRIBUTE = [a-zA-Z0-9-]*[ ]*=? ATTRIBUTE_CONTENT_DOUBLE_QUOTES = "[^<>"]*" ATTRIBUTE_CONTENT_SINGLE_QUOTES = '[^<>']*' -BRACKET = [] +BRACKET = [] diff --git a/tests/highlighter_5.exp b/tests/highlighter_5.exp index 881039a..5f2cc1c 100644 --- a/tests/highlighter_5.exp +++ b/tests/highlighter_5.exp @@ -1,59 +1,59 @@ <?xml version="1.0" encoding="utf-8"?> - -  +   -  -  -  -  -  +  +  +  +  +   -  +  -  +    -  +   -  +   -  +    -  -  +  +   -  +    -  +   -  +    diff --git a/tests/highlighter_7.exp b/tests/highlighter_7.exp index 9436a15..1b449c2 100644 --- a/tests/highlighter_7.exp +++ b/tests/highlighter_7.exp @@ -1,4 +1,4 @@ - +   @@ -79,7 +79,7 @@   I have just one thing to say! - A bunch of [[text]] here. + A bunch of [[text]] here. 5x0ux8iwjrbmfzgv6pkketxgkcnpr7h wikitext text/x-wiki @@ -92,7 +92,7 @@ 10.0.0.2  new! - An earlier [[revision]]. + An earlier [[revision]]. etaxt3shcge6igz1biwy3d4um2pnle4 wikitext text/x-wiki @@ -108,7 +108,7 @@ 2001-01-15T14:03:00Z 10.0.0.2 hey - WHYD YOU LOCK PAGE??!!! i was editing that jerk + WHYD YOU LOCK PAGE??!!! i was editing that jerk ml80vmyjlixdstnywwihx003exfzq9j wikitext text/x-wiki @@ -124,7 +124,7 @@ 2001-01-15T20:34:12Z Foobar42 My awesomeest image! - This is an awesome little imgae. I lurves it. {{PD}} + This is an awesome little imgae. I lurves it. {{PD}} mehom37npwkpzhaiwu3wyr0egalumki wikitext text/x-wiki @@ -151,7 +151,7 @@ delete delete Silly page name -  +