Skip to content

Commit 4ab2335

Browse files
committed
Add brackets-only test case
1 parent 78db7b5 commit 4ab2335

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flit_core/tests_core/test_config.py

+8
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,14 @@ def test_license_expr_error_not_recognised(invalid_expr: str):
309309
") AND MIT",
310310
"MIT OR (",
311311
"MIT OR (MIT))",
312+
# Only brackets
313+
"()",
314+
"()()",
315+
"()(())",
316+
"( )",
317+
" ( )",
318+
"( ) ",
319+
" ( ) ",
312320
])
313321
def test_license_expr_error(invalid_expr: str):
314322
proj = {

0 commit comments

Comments
 (0)