Skip to content

Commit 74d4c24

Browse files
olehermanseclaude
andcommitted
Tests: Reordered linting tests after merging 2 of them
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
1 parent 1068711 commit 74d4c24

53 files changed

Lines changed: 83 additions & 83 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
bundle agent MyBundle
3+
^------^
4+
Convention: Bundle name should be lowercase at tests/lint/003_bundle_name_lowercase.x.cf:1:14
5+
FAIL: tests/lint/003_bundle_name_lowercase.x.cf (1 error)
6+
Failure, 1 error in total.

tests/lint/004_bundle_name_lowercase.expected.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
bundle notavalidtype my_bundle
33
^-----------^
4-
Error: Bundle type must be one of (agent, common, edit_line, edit_xml, monitor, server), not 'notavalidtype' at tests/lint/005_bundle_type.x.cf:1:8
5-
FAIL: tests/lint/005_bundle_type.x.cf (1 error)
4+
Error: Bundle type must be one of (agent, common, edit_line, edit_xml, monitor, server), not 'notavalidtype' at tests/lint/004_bundle_type.x.cf:1:8
5+
FAIL: tests/lint/004_bundle_type.x.cf (1 error)
66
Failure, 1 error in total.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
{
3+
reports
4+
^-----^
5+
Error: Syntax error at tests/lint/005_syntax_error.x.cf:3:3
6+
FAIL: tests/lint/005_syntax_error.x.cf (1 error)
7+
Failure, 1 error in total.

0 commit comments

Comments
 (0)