Skip to content

Commit f5cf117

Browse files
committed
Test preview config
Support for preview config option was introduced in commit 4b80007. This adds a test that the config option is parsed by python-lsp-black.
1 parent 6281236 commit f5cf117

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/fixtures/config/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ line-length = 20
44
pyi = true
55
skip-magic-trailing-comma = true
66
skip-string-normalization = true
7+
preview = true

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_load_config(config):
235235
"fast": True,
236236
"skip_magic_trailing_comma": True,
237237
"skip_string_normalization": True,
238-
"preview": False,
238+
"preview": True,
239239
}
240240

241241

0 commit comments

Comments
 (0)