Skip to content

Commit

Permalink
test: fix local env
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed May 18, 2024
1 parent 4d77d46 commit 3c74e44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/core/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var knownConfig = filepath.Join(testData, "fixtures", "formats", ".vale.ini")
// TestNoBaseConfig tests that we raise an error if we can't find a base
// config.
func TestNoBaseConfig(t *testing.T) {
cfg, err := NewConfig(&CLIFlags{})
cfg, err := NewConfig(&CLIFlags{IgnoreGlobal: true})
if err != nil {
t.Fatal(err)
}
Expand Down
12 changes: 6 additions & 6 deletions testdata/features/lint.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ Feature: Lint
"""

Scenario: Lint a reStructuredText file
When I lint A "test.rst"
When I lint reStructuredText "test.rst"
Then the output should contain exactly:
"""
test.rst:15:1:Test.Test3:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:22:59:Test.Test3:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:23:43:Test.Test3:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:25:22:Test.Test3:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:29:17:Test.Test3:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:15:1:Test.Rule:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:22:59:Test.Rule:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:23:43:Test.Rule:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:25:22:Test.Rule:Use 'BIG Needles' rather than 'BIG needles'.
test.rst:29:17:Test.Rule:Use 'BIG Needles' rather than 'BIG needles'.
"""

Scenario: Lint a AsciiDoc file
Expand Down

0 comments on commit 3c74e44

Please sign in to comment.