Skip to content

Commit 941f436

Browse files
committed
Update operation test fact keys.
1 parent 0f83047 commit 941f436

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

tests/operations/files.line/add_replace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
},
77
"facts": {
88
"files.FindInFile": {
9-
"path=somefile, pattern=^.*match_line.*$, interpolate_variables=False": [],
10-
"path=somefile, pattern=^.*replace_line.*$, interpolate_variables=False": []
9+
"interpolate_variables=False, path=somefile, pattern=^.*match_line.*$": [],
10+
"interpolate_variables=False, path=somefile, pattern=^.*replace_line.*$": []
1111
}
1212
},
1313
"commands": [

tests/operations/files.line/add_with_quote.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"args": ["somefile", "match line"],
33
"facts": {
44
"files.FindInFile": {
5-
"path=somefile, pattern=^.*match line.*$, interpolate_variables=False": []
5+
"interpolate_variables=False, path=somefile, pattern=^.*match line.*$": []
66
}
77
},
88
"commands": [

tests/operations/files.replace/replace_double_quotes_interpolate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"facts": {
77
"files.FindInFile": {
8-
"path=filename, pattern=\"single quote match\", interpolate_variables=True": ["\"single quote match\" rest of line"]
8+
"interpolate_variables=True, path=filename, pattern=\"single quote match\"": ["\"single quote match\" rest of line"]
99
}
1010
},
1111
"commands": [

tests/operations/files.replace/replace_double_quotes_no_interpolate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"facts": {
77
"files.FindInFile": {
8-
"path=filename, pattern=\"single quote match\", interpolate_variables=False": ["\"single quote match\" rest of line"]
8+
"interpolate_variables=False, path=filename, pattern=\"single quote match\"": ["\"single quote match\" rest of line"]
99
}
1010
},
1111
"commands": [

tests/operations/files.replace/replace_single_quotes_no_interpolate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"facts": {
77
"files.FindInFile": {
8-
"path=filename, pattern='single quote match', interpolate_variables=False": ["'single quote match' rest of line"]
8+
"interpolate_variables=False, path=filename, pattern='single quote match'": ["'single quote match' rest of line"]
99
}
1010
},
1111
"commands": [

tests/operations/files.replace/simple_no_interpolate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"facts": {
88
"files.FindInFile": {
9-
"path=filename, pattern=match, interpolate_variables=False": ["matching line"]
9+
"interpolate_variables=False, path=filename, pattern=match": ["matching line"]
1010
}
1111
},
1212
"commands": [

0 commit comments

Comments
 (0)