Skip to content

Commit 2ec411a

Browse files
committed
Updated expected results for SOME_CONFIG config in helloworld_test.py
1 parent ed3d33c commit 2ec411a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cli/helloworld_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_addon_relative_path():
107107
filename = os.path.join('helloworld', 'main.c')
108108
assert ret == 0, stdout
109109
assert stdout == ('Checking %s ...\n'
110-
'Checking %s: SOME_CONFIG...\n' % (filename, filename))
110+
'Checking %s: SOME_CONFIG=SOME_CONFIG...\n' % (filename, filename))
111111
assert stderr == ('[%s:5]: (error) Division by zero.\n'
112112
'[%s:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\n' % (filename, filename))
113113

@@ -125,7 +125,7 @@ def test_addon_with_gui_project(tmp_path):
125125
assert ret == 0, stdout
126126
assert stdout.strip().split('\n') == [
127127
'Checking %s ...' % filename,
128-
'Checking %s: SOME_CONFIG...' % filename
128+
'Checking %s: SOME_CONFIG=SOME_CONFIG...' % filename
129129
]
130130
assert stderr == ('[%s:5]: (error) Division by zero.\n'
131131
'[%s:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\n' % (filename, filename))

0 commit comments

Comments
 (0)