diff --git a/src/test/resources/org/eolang/lints/packs/single/phi-is-not-first/catches-nested-at.yaml b/src/test/resources/org/eolang/lints/packs/single/phi-is-not-first/catches-nested-at.yaml new file mode 100644 index 000000000..cb507deb2 --- /dev/null +++ b/src/test/resources/org/eolang/lints/packs/single/phi-is-not-first/catches-nested-at.yaml @@ -0,0 +1,12 @@ +# SPDX-FileCopyrightText: Copyright (c) 2016-2026 Objectionary.com +# SPDX-License-Identifier: MIT +--- +sheets: + - /org/eolang/lints/names/phi-is-not-first.xsl +asserts: + - /defects[count(defect[@severity='warning'])=1] + - /defects/defect[@line='3'] +input: | + [] > foo + hello > x + bar > @