aboutsummaryrefslogtreecommitdiff
path: root/src/vdf/tests/files
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-29 18:36:22 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-29 18:36:22 +0200
commitd8e48a60b0a9a2b025078bf6b38e360e0ec7e23b (patch)
treee8becc5f3cc5dcdea352e607cd6ac347c1067e00 /src/vdf/tests/files
parentd89a23076329c7fb8dd259fa4ef4c354d22a457e (diff)
downloadOFQT-d8e48a60b0a9a2b025078bf6b38e360e0ec7e23b.tar.gz
OFQT-d8e48a60b0a9a2b025078bf6b38e360e0ec7e23b.zip
properly accept character escaping in VDF files
Diffstat (limited to 'src/vdf/tests/files')
-rw-r--r--src/vdf/tests/files/registry.vdf28
1 files changed, 5 insertions, 23 deletions
diff --git a/src/vdf/tests/files/registry.vdf b/src/vdf/tests/files/registry.vdf
index 0e400bf..60bdfaf 100644
--- a/src/vdf/tests/files/registry.vdf
+++ b/src/vdf/tests/files/registry.vdf
@@ -11,34 +11,16 @@
"empty"
{
}
- "slash-test"
- {
- "key\"string" "value\"string"
- }
"steamglobal"
{
"language" "english"
}
- "Apps"
+ "escape_test"
{
- "10090"
- {
- "installed" "1"
- "Updating" "0"
- "Running" "0"
- }
- "1245040"
- {
- "installed" "1"
- "Updating" "0"
- "Running" "0"
- }
- "287700"
- {
- "installed" "1"
- "Updating" "0"
- "Running" "0"
- }
+ "double\"quote" "ab\"cd"
+ "tab\tulator" "ab\tcd"
+ "new\nline" "ab\ncd"
+ "back\\slash" "ab\\cd"
}
}
}