Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift4 multiline support #495

Open
kenji21 opened this issue Dec 8, 2017 · 0 comments
Open

Swift4 multiline support #495

kenji21 opened this issue Dec 8, 2017 · 0 comments

Comments

@kenji21
Copy link
Contributor

kenji21 commented Dec 8, 2017

Tailor Version: v0.1.0
master

Swift Version: 1.0
4.0

Platform (Mac/Linux/Windows/CI): Mac
Mac

Installation Method: Homebrew

Steps to Reproduce Issue

  1. Add some multiline string vars to StringAndCharacters.swift test file:
let multilineString = """
multiline
text
"""

let multilineStringWithVar = """
multiline
text
with a star \(star)
"""

let multilineStringWithEscaped = """
  You could write multi-lined strings
  without "escaping" single quotes.
"""

Expected Behavior

No test failure

Actual Behavior

java.lang.AssertionError:
Expected: an empty string
but: was "line 8:24 extraneous input '"' expecting {, ';', 'for', 'case', ......

when running GrammarTest::testGrammar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant