From da2bba8f524ecbbc2e49e5a255bd0dcef14a2f0d Mon Sep 17 00:00:00 2001 From: VasilevNStas Date: Tue, 11 Aug 2026 15:49:07 +0300 Subject: [PATCH] test(#108): cover nested @ with phi-is-not-first --- .../single/phi-is-not-first/catches-nested-at.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/test/resources/org/eolang/lints/packs/single/phi-is-not-first/catches-nested-at.yaml 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 > @