summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl')
-rw-r--r--vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl
new file mode 100644
index 000000000..bc337fb7c
--- /dev/null
+++ b/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl
@@ -0,0 +1,5 @@
+output {
+ one = "${replace(var.sub_domain, ".", "\\.")}"
+ two = "${replace(var.sub_domain, ".", "\\\\.")}"
+ many = "${replace(var.sub_domain, ".", "\\\\\\\\.")}"
+}