Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Added stack size option and test for it
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-egorov42 committed Nov 10, 2022
1 parent 2e0276a commit 0534dfa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,23 @@ SOFTWARE.
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<stack-size>256M</stack-size>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration combine.self="override"/>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xss${stack-size}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions src/test/eo/org/eolang/collections/list-tests.eo
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@
assert-that > @
reducedi.
list
* 1 2 3 4
* 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0
[a i x]
plus. > @
x
a
$.equal-to 10
$.equal-to 1

[] > reducedi-bools-array
assert-that > @
Expand Down

0 comments on commit 0534dfa

Please sign in to comment.