Skip to content

Commit 912ce66

Browse files
committed
Ran cfengine format
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
1 parent f4be28d commit 912ce66

4 files changed

Lines changed: 11 additions & 12 deletions

File tree

tests/lint/010_unknown_function_inside_vars.cf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ bundle agent helper
1414
{
1515
vars:
1616
"x" string => isvariable("arg");
17+
1718
"y"
1819
classes => bundle_class("arg"),
1920
string => "";
21+
2022
methods:
2123
"x" usebundle => target("arg");
2224
}

tests/lint/011_mutually_exclusive_types_vars.cf

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ bundle agent foo
55
policy => "free",
66
real => "11.11";
77

8-
"noerr"
9-
int => 12;
10-
11-
"noerr"
12-
slist => {};
8+
"noerr" int => 12;
9+
"noerr" slist => {};
1310

1411
"comment"
1512
slist => {},
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
bundle agent main
22
{
3-
vars:
4-
"string"
5-
string => canonify("test");
6-
reports:
7-
"Test => $(string)";
3+
vars:
4+
"string" string => canonify("test");
5+
6+
reports:
7+
"Test => $(string)";
88
}

tests/lint/014_num_args_bundle_body.cf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
bundle agent main
22
{
33
methods:
4-
"test"
5-
usebundle => test("a", "b");
4+
"test" usebundle => test("a", "b");
65
}
6+
77
bundle agent test(a, b)
88
{
99
reports:

0 commit comments

Comments
 (0)