Skip to content

Commit

Permalink
Update triple quote tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Dec 22, 2020
1 parent 8a3a67c commit a9c4bdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/service/Symbols.fs
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ module Strings =
let ``SynConst.String tracks triple quotes`` (bindingName: string, isTripleQuote: bool) =
let parseResults =
getParseResults
"""
let string1 = "yo"
"
let string1 = \"yo\"
let string2 = \"\"\"yo\"\"\"
"""
"

match getBindingConstValue parseResults bindingName with
| Some (SynConst.String (_, _, tripleQuote_, _)) -> tripleQuote_ |> should equal isTripleQuote
Expand Down

0 comments on commit a9c4bdd

Please sign in to comment.