@@ -250,15 +250,15 @@ if all of its characters have syntax and face. See
250
250
(check-properties
251
251
'(" [qq| \\ |] Cons" )
252
252
'((" qq" " w" nil )
253
- (" \\ " " ." ( haskell-quasi-quote-face font-lock-string-face ) )
253
+ (" \\ " " ." haskell-quasi-quote-face)
254
254
(" Cons" " w" haskell-constructor-face))))
255
255
256
256
(ert-deftest haskell-syntactic-quasiquote-three-punctuation ()
257
257
" Check string escape vs comment escape"
258
258
(check-properties
259
259
'(" [qq| %\\ |] Cons" )
260
260
'((" qq" " w" nil )
261
- (" %\\ " " ." ( haskell-quasi-quote-face font-lock-string-face ) )
261
+ (" %\\ " " ." haskell-quasi-quote-face)
262
262
(" Cons" " w" haskell-constructor-face))))
263
263
264
264
(ert-deftest haskell-syntactic-test-11a ()
@@ -360,9 +360,9 @@ if all of its characters have syntax and face. See
360
360
(check-properties
361
361
'(" v = [quoter| string |] Cons" )
362
362
'((" [" t nil )
363
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
364
- (" string" t ( haskell-quasi-quote-face font-lock-string-face ) )
365
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
363
+ (" |" t haskell-quasi-quote-face)
364
+ (" string" t haskell-quasi-quote-face)
365
+ (" |" t haskell-quasi-quote-face)
366
366
(" ]" t nil )
367
367
(" Cons" " w" haskell-constructor-face))))
368
368
@@ -374,10 +374,10 @@ if all of its characters have syntax and face. See
374
374
" finishing line"
375
375
" |] Cons" )
376
376
'((" [" t nil )
377
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
378
- (" string" t ( haskell-quasi-quote-face font-lock-string-face ) )
379
- (" line" t ( haskell-quasi-quote-face font-lock-string-face ) )
380
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
377
+ (" |" t haskell-quasi-quote-face)
378
+ (" string" t haskell-quasi-quote-face)
379
+ (" line" t haskell-quasi-quote-face)
380
+ (" |" t haskell-quasi-quote-face)
381
381
(" ]" t nil )
382
382
(" Cons" " w" haskell-constructor-face))))
383
383
@@ -386,10 +386,10 @@ if all of its characters have syntax and face. See
386
386
(check-properties
387
387
'(" v = [quoter| [inner| string {- -- |] Outside |]" )
388
388
'((" [" t nil )
389
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
390
- (" inner" t ( haskell-quasi-quote-face font-lock-string-face ) )
391
- (" string" t ( haskell-quasi-quote-face font-lock-string-face ) )
392
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
389
+ (" |" t haskell-quasi-quote-face)
390
+ (" inner" t haskell-quasi-quote-face)
391
+ (" string" t haskell-quasi-quote-face)
392
+ (" |" t haskell-quasi-quote-face)
393
393
(" ]" t nil )
394
394
(" Outside" " w" haskell-constructor-face)
395
395
)))
@@ -401,8 +401,8 @@ if all of its characters have syntax and face. See
401
401
" [inner| string {- -- |] Outside1 |] Outside2" )
402
402
'((" quoter" t font-lock-comment-face )
403
403
(" inner" t nil )
404
- (" string" t ( haskell-quasi-quote-face font-lock-string-face ) )
405
- (" |" t ( haskell-quasi-quote-face font-lock-string-face ) )
404
+ (" string" t haskell-quasi-quote-face)
405
+ (" |" t haskell-quasi-quote-face)
406
406
(" ]" t nil )
407
407
(" Outside1" " w" haskell-constructor-face)
408
408
(" Outside2" " w" haskell-constructor-face)
@@ -422,7 +422,7 @@ if all of its characters have syntax and face. See
422
422
(" Cons_t" t haskell-constructor-face)
423
423
(" Cons_d" t haskell-constructor-face)
424
424
(" Cons_p" t haskell-constructor-face)
425
- (" Cons_x" t ( haskell-quasi-quote-face font-lock-string-face ) ))))
425
+ (" Cons_x" t haskell-quasi-quote-face))))
426
426
427
427
(ert-deftest haskell-syntactic-test-special-not-redefined ()
428
428
" QuasiQuote should not conflict with TemplateHaskell"
0 commit comments