# textDocument/codeAction — constructor visibility quickfix (error 9239)
#
# ConstructorInvalidVisibility.sol has `constructor() private {}` triggering
# error 9239. The server should return a QuickFix that deletes `private`.
#
# Run:
# lsp-bench -c benchmarks/code-action-9239.yaml -v
# lsp-bench -c benchmarks/code-action-9239.yaml -v --verify
project: .
file: example/codeaction/ConstructorInvalidVisibility.sol
line: 9
col: 4
output: benchmarks/code-action-9239
iterations: 3
warmup: 1
timeout: 30
index_timeout: 60
servers:
- label: mmsaki
cmd: solidity-language-server
benchmarks:
- textDocument/codeAction
methods:
textDocument/codeAction:
line: 9
col: 4
expect:
titleContains: "Remove constructor visibility"