Add test for brace in command position with trailling text

See #11962
This commit is contained in:
Johannes Altmanninger
2025-10-22 09:35:14 +02:00
parent 6a86974b96
commit 037a399746

View File

@@ -102,6 +102,11 @@ $fish -c '{ :; } true'
# CHECKERR: { :; } true
# CHECKERR: ^~~^
$fish -c '{$HOME}/bin'
# CHECKERR: fish: '}' does not take arguments. Did you forget a ';'?
# CHECKERR: {$HOME}/bin
# CHECKERR: ^~~^
; { echo semi; }
# CHECK: semi