Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Jul 16, 2024
1 parent 465d7e5 commit 1bec66c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/test/lint_test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ EOF
assert_output --partial "src/hello.kt:1:1: File name 'hello.kt' should conform PascalCase (standard:filename)"

# ESLint
assert_output --partial 'src/file.ts\n 2:7 error Type string trivially inferred from a string literal, remove type annotation. (@typescript-eslint/no-inferrable-types)'
echo <<"EOF" | assert_output --partial
src/file.ts
2:7 error Type string trivially inferred from a string literal, remove type annotation @typescript-eslint/no-inferrable-types
EOF

# Buf
assert_output --partial 'src/file.proto:1:1:Import "src/unused.proto" is unused.'
Expand Down

0 comments on commit 1bec66c

Please sign in to comment.