Skip to content

Commit 230803b

Browse files
authored
Merge pull request #544 from posit-dev/dgoss-test-escape-warnings
Fix invalid escape sequence in dgoss test expected strings
2 parents ff946ac + e5c6908 commit 230803b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

posit-bakery/test/plugins/builtin/dgoss/test_command.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_command(self, basic_standard_image_target):
123123
"-e",
124124
"IMAGE_VARIANT=Standard",
125125
"-e",
126-
"IMAGE_OS=Ubuntu\ 22.04",
126+
r"IMAGE_OS=Ubuntu\ 22.04",
127127
"-e",
128128
"IMAGE_OS_NAME=ubuntu",
129129
"-e",
@@ -166,7 +166,7 @@ def test_command_build_args_env_vars(self, basic_standard_image_target):
166166
"-e",
167167
"IMAGE_VARIANT=Standard",
168168
"-e",
169-
"IMAGE_OS=Ubuntu\ 22.04",
169+
r"IMAGE_OS=Ubuntu\ 22.04",
170170
"-e",
171171
"IMAGE_OS_NAME=ubuntu",
172172
"-e",
@@ -210,7 +210,7 @@ def test_command_with_platform_option(self, basic_standard_image_target):
210210
"-e",
211211
"IMAGE_VARIANT=Standard",
212212
"-e",
213-
"IMAGE_OS=Ubuntu\ 22.04",
213+
r"IMAGE_OS=Ubuntu\ 22.04",
214214
"-e",
215215
"IMAGE_OS_NAME=ubuntu",
216216
"-e",
@@ -251,7 +251,7 @@ def test_command_with_runtime_options(self, basic_standard_image_target):
251251
"-e",
252252
"IMAGE_VARIANT=Standard",
253253
"-e",
254-
"IMAGE_OS=Ubuntu\ 22.04",
254+
r"IMAGE_OS=Ubuntu\ 22.04",
255255
"-e",
256256
"IMAGE_OS_NAME=ubuntu",
257257
"-e",
@@ -297,7 +297,7 @@ def test_command_with_build_metadata(self, basic_standard_image_target):
297297
"-e",
298298
"IMAGE_VARIANT=Standard",
299299
"-e",
300-
"IMAGE_OS=Ubuntu\ 22.04",
300+
r"IMAGE_OS=Ubuntu\ 22.04",
301301
"-e",
302302
"IMAGE_OS_NAME=ubuntu",
303303
"-e",

0 commit comments

Comments
 (0)