Skip to content

Commit

Permalink
Updated tests with QQBLOB element.
Browse files Browse the repository at this point in the history
  • Loading branch information
carymrobbins committed Jan 9, 2015
1 parent fe92aef commit 385fe24
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
6 changes: 4 additions & 2 deletions tests/gold/parser/expected/Record00002.txt
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('stext')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)('\n Please confirm your email address by clicking on the link below.\n\n #{verurl}\n\n Thank you.\n ')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)('\n Please confirm your email address by clicking on the link below.\n\n #{verurl}\n\n Thank you.\n ')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.})('}')
FUNORPATDECL
Expand Down Expand Up @@ -289,6 +290,7 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('shamlet')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)('\n <p>Please confirm your email address by clicking the link below.\n <p>\n <a href=#{verurl}>#{verurl}>\n <p>Thank you\n ')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)('\n <p>Please confirm your email address by clicking the link below.\n <p>\n <a href=#{verurl}>#{verurl}>\n <p>Thank you\n ')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.})('}')
15 changes: 10 additions & 5 deletions tests/gold/parser/expected/TempHask00002.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('undefined')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)('\nsomething here "hello world"\n')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)('\nsomething here "hello world"\n')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.[|)('[|')
EXP
Expand All @@ -37,21 +38,24 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('d')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)(' 7 ')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)(' 7 ')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.Quasi-[)('[')
QVARID
VARID
PsiElement(HaskellTokenType.varidRegexp)('t')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)(' Int ')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)(' Int ')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.Quasi-[)('[')
QVARID
VARID
PsiElement(HaskellTokenType.varidRegexp)('p')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)(' 7 ')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)(' 7 ')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.$()('$(')
EXP
Expand Down Expand Up @@ -92,7 +96,8 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('haskell')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)('y')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)('y')
PsiElement(HaskellTokenType.|])('|]')
PsiElement(HaskellTokenType.->)('->')
EXP
Expand Down
3 changes: 2 additions & 1 deletion tests/gold/parser/expected/TempHask00003.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('here')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)('test\ntest\ntest test ')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)('test\ntest\ntest test ')
PsiElement(HaskellTokenType.|])('|]')
3 changes: 2 additions & 1 deletion tests/gold/parser/expected/TempHask00004.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ Haskell File
VARID
PsiElement(HaskellTokenType.varidRegexp)('parseRoutes')
PsiElement(HaskellTokenType.|)('|')
PsiElement(HaskellTokenType.Quasi-stuff)('\n/ HomeR GET\n')
QQBLOB
PsiElement(HaskellTokenType.Quasi-stuff)('\n/ HomeR GET\n')
PsiElement(HaskellTokenType.|])('|]')

0 comments on commit 385fe24

Please sign in to comment.