Skip to content

Commit

Permalink
fix(#3617): try with 0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Dec 6, 2024
1 parent 2d38699 commit f6b423b
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eo-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SOFTWARE.
<dependency>
<groupId>org.eolang</groupId>
<artifactId>lints</artifactId>
<version>0.0.18</version>
<version>0.0.19</version>
</dependency>
<dependency>
<groupId>com.yegor256</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void detectsWarningWithCorrespondingFlag(@Mktmp final Path temp) throws IOExcept
new XMLDocument(
maven.result().get("target/6-lint/foo/x/main.xmir")
).nodes("//errors/error[@severity='warning']"),
Matchers.hasSize(Matchers.equalTo(4))
Matchers.hasSize(Matchers.equalTo(6))
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# The MIT License (MIT)
#
# Copyright (c) 2016-2024 Objectionary.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
---
sheets:
- /org/eolang/parser/optimize/remove-refs.xsl
- /org/eolang/parser/optimize/abstracts-float-up.xsl
- /org/eolang/parser/optimize/remove-levels.xsl
- /org/eolang/parser/add-refs.xsl
- /org/eolang/parser/clean-up.xsl
asserts:
- /program[count(.//o[@base='build' and not(@ref)])=2]
input: |
# No comments.
[] > hello
# No comments.
[f s] > calc
plus. > @
f.next
s.next
seq > @
QQ.io.stdout
QQ.txt.sprintf
"Result is %d\n"
calc
[]
# No comments.
[x] > build
x.plus 1 > @
build (@.plus 1) > next
build 1 > @
[]
# No comments.
[y] > build
y.plus 2 > @
build (@.plus 2) > next
build 2 > @
true

0 comments on commit f6b423b

Please sign in to comment.