From a634e6770ad6a2184b9eff467e2b645d06f9bc8f Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 16 Apr 2015 15:26:59 -0700 Subject: [PATCH] Added tests. --- .../es6/templates/templateStringWithBackslashEscapes01.ts | 6 ++++++ .../templates/templateStringWithBackslashEscapes01_ES6.ts | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts create mode 100644 tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts diff --git a/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts new file mode 100644 index 00000000000..c3c55369a4d --- /dev/null +++ b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts @@ -0,0 +1,6 @@ + + +var a = `hello\world`; +var b = `hello\\world`; +var c = `hello\\\world`; +var d = `hello\\\\world`; \ No newline at end of file diff --git a/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts new file mode 100644 index 00000000000..7309ecd7b2c --- /dev/null +++ b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts @@ -0,0 +1,6 @@ +// @target: es6 + +var a = `hello\world`; +var b = `hello\\world`; +var c = `hello\\\world`; +var d = `hello\\\\world`; \ No newline at end of file