diff --git a/src/main/resources/org/eolang/lints/atoms/not-empty-atom.xsl b/src/main/resources/org/eolang/lints/atoms/not-empty-atom.xsl index 6afd44034..91c16abe0 100644 --- a/src/main/resources/org/eolang/lints/atoms/not-empty-atom.xsl +++ b/src/main/resources/org/eolang/lints/atoms/not-empty-atom.xsl @@ -11,7 +11,7 @@ - + @@ -28,7 +28,7 @@ The atom may not have any attributes, which however exist: - + , diff --git a/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/allows-atom-with-typed-lambda.yaml b/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/allows-atom-with-typed-lambda.yaml new file mode 100644 index 000000000..11e639226 --- /dev/null +++ b/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/allows-atom-with-typed-lambda.yaml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: Copyright (c) 2016-2026 Objectionary.com +# SPDX-License-Identifier: MIT +--- +sheets: + - /org/eolang/lints/atoms/not-empty-atom.xsl +asserts: + - /defects[count(defect)=0] +document: | + + + + + diff --git a/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/catches-empty-atom.yaml b/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/catches-empty-atom.yaml index 7b1dca82c..5b73c4d6e 100644 --- a/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/catches-empty-atom.yaml +++ b/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/catches-empty-atom.yaml @@ -9,6 +9,7 @@ asserts: document: | - + + diff --git a/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/prints-context-when-lines-empty.yaml b/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/prints-context-when-lines-empty.yaml index eca7e8b11..920293224 100644 --- a/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/prints-context-when-lines-empty.yaml +++ b/src/test/resources/org/eolang/lints/packs/single/not-empty-atom/prints-context-when-lines-empty.yaml @@ -8,6 +8,7 @@ asserts: document: | - + +