Skip to content

Commit 0ca3c45

Browse files
committed
fix validate error message
1 parent 972d1a3 commit 0ca3c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/integration/validate/test_validate_command.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def test_lint_deprecated_runtimes(self, runtime):
157157
self.assertEqual(command_result.process.returncode, 1)
158158
self.assertRegex(
159159
output,
160-
f"\\[\\[E2531: Validate if lambda runtime is deprecated\\] "
161-
f"\\(Runtime '{runtime}' was deprecated on.*",
160+
f"\\[\\[W2531: Check if EOL Lambda Function Runtimes are used] "
161+
f"\\(Runtime \\'{runtime}'\\ was deprecated on.*",
162162
)
163163

164164
def test_lint_supported_runtimes(self):

0 commit comments

Comments
 (0)