[gtksourceview: 1/4] scss.lang, less.lang: Align test cases



commit 5723b3694878ca46266d4d9774995046ccad84cb
Author: Jeffery To <jeffery to gmail com>
Date:   Tue Jan 21 01:18:53 2020 +0800

    scss.lang, less.lang: Align test cases

 tests/syntax-highlighting/file.less | 26 +++++++++----------
 tests/syntax-highlighting/file.scss | 50 ++++++++++++++++++-------------------
 2 files changed, 38 insertions(+), 38 deletions(-)
---
diff --git a/tests/syntax-highlighting/file.less b/tests/syntax-highlighting/file.less
index 24a534fe..594fcaba 100644
--- a/tests/syntax-highlighting/file.less
+++ b/tests/syntax-highlighting/file.less
@@ -405,21 +405,21 @@ div {
     @{property}:block;
 
     background-image:url( \( \) \{ { );
-    background-image:url( url( { ) );
-    background-image:url( @var );
-    background-image:url( /* ) { */ );
-    background-image:url( " ) { " );
-    background-image:url( ' ) { ' );
+    background-image:url( url( { )   );
+    background-image:url( @var       );
+    background-image:url( /* ) { */  );
+    background-image:url( " ) { "    );
+    background-image:url( ' ) { '    );
 
     margin:@var 10px;
 
     display:/* { */block;
 
     font-family:" \" \{ { ", serif;
-    font-family:" @{var} ", serif;
+    font-family:" @{var}  ", serif;
 
     font-family:' \' \{ { ', serif;
-    font-family:' @{var} ', serif;
+    font-family:' @{var}  ', serif;
 
 
     // incorrectly highlighted declarations
@@ -435,21 +435,21 @@ div {
 
     a:@{state} { color: blue; }
 
-    a:focus[id=\]\;] { color: blue; }
-    a:focus[id=@{var}] { color: blue; }
+    a:focus[id=\]\;     ] { color: blue; }
+    a:focus[id=@{var}   ] { color: blue; }
     a:focus[id=/* ] ; */] { color: blue; }
-    a:focus[id=" ] ; "] { color: blue; }
-    a:focus[id=' ] ; '] { color: blue; }
+    a:focus[id=" ] ; "  ] { color: blue; }
+    a:focus[id=' ] ; '  ] { color: blue; }
 
     a:@{var} { color: blue; }
 
     a:/* ; */focus { color: blue; }
 
     a:focus[id=" ] \" \; ; "] { color: blue; }
-    a:focus[id=" @{var} "] { color: blue; }
+    a:focus[id=" @{var}    "] { color: blue; }
 
     a:focus[id=' ] \' \; ; '] { color: blue; }
-    a:focus[id=' @{var} '] { color: blue; }
+    a:focus[id=' @{var}    '] { color: blue; }
 }
 
 
diff --git a/tests/syntax-highlighting/file.scss b/tests/syntax-highlighting/file.scss
index fc4dfcdb..695a771a 100644
--- a/tests/syntax-highlighting/file.scss
+++ b/tests/syntax-highlighting/file.scss
@@ -431,27 +431,27 @@ div {
     color:#000;
     width:#{$width};
 
-    background-image:url( \( \) \{ { );
-    background-image:url( url( { ) );
+    background-image:url( \( \) \{ {      );
+    background-image:url( url( { )        );
     background-image:url( #{ \) ')' '{' } );
-    background-image:url( /* ) { */ );
-    background-image:url( " ) { " );
-    background-image:url( ' ) { ' );
+    background-image:url( /* ) { */       );
+    background-image:url( " ) { "         );
+    background-image:url( ' ) { '         );
 
     margin:#{ \#\{ \} \{ '{' } 10px;
-    margin:#{ url( } { ) } 10px;
-    margin:#{ #{ '{' } } 10px;
-    margin:#{ /* } { */ } 10px;
-    margin:#{ " } { " } 10px;
-    margin:#{ ' } { ' } 10px;
+    margin:#{ url( } { )     } 10px;
+    margin:#{ #{ '{' }       } 10px;
+    margin:#{ /* } { */      } 10px;
+    margin:#{ " } { "        } 10px;
+    margin:#{ ' } { '        } 10px;
 
-    display:/* { */block;
+    display:/* {             */block;
     display:/* #{ \*\/ '{' } */block;
 
-    font-family:" \" \{ { ", serif;
+    font-family:" \" \{ {        ", serif;
     font-family:" #{ \" "" '{' } ", serif;
 
-    font-family:' \' \{ { ', serif;
+    font-family:' \' \{ {        ', serif;
     font-family:' #{ \' '' '{' } ', serif;
 
     // incorrectly highlighted declarations
@@ -467,26 +467,26 @@ div {
 
     a:#{$state} { color: blue; }
 
-    a:focus[id=\]\;] { color: blue; }
+    a:focus[id=\]\;           ] { color: blue; }
     a:focus[id=#{ \] "]" ";" }] { color: blue; }
-    a:focus[id=/* ] ; */] { color: blue; }
-    a:focus[id=" ] ; "] { color: blue; }
-    a:focus[id=' ] ; '] { color: blue; }
+    a:focus[id=/* ] ; */      ] { color: blue; }
+    a:focus[id=" ] ; "        ] { color: blue; }
+    a:focus[id=' ] ; '        ] { color: blue; }
 
     a:#{ \#\{ \} \; ';' } { color: blue; }
-    a:#{ url( } ; ) } { color: blue; }
-    a:#{ #{ ';' } } { color: blue; }
-    a:#{ /* } ; */ } { color: blue; }
-    a:#{ " } ; " } { color: blue; }
-    a:#{ ' } ; ' } { color: blue; }
+    a:#{ url( } ; )     } { color: blue; }
+    a:#{ #{ ';' }       } { color: blue; }
+    a:#{ /* } ; */      } { color: blue; }
+    a:#{ " } ; "        } { color: blue; }
+    a:#{ ' } ; '        } { color: blue; }
 
-    a:/* ; */focus { color: blue; }
+    a:/* ;             */focus { color: blue; }
     a:/* #{ \*\/ ';' } */focus { color: blue; }
 
-    a:focus[id=" ] \" \; ; "] { color: blue; }
+    a:focus[id=" ] \" \; ;      "] { color: blue; }
     a:focus[id=" #{ \" "" ';' } "] { color: blue; }
 
-    a:focus[id=' ] \' \; ; '] { color: blue; }
+    a:focus[id=' ] \' \; ;      '] { color: blue; }
     a:focus[id=' #{ \' '' ';' } '] { color: blue; }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]