Update snakeyaml to version 1.20 (#290)

* Update snakeyaml to version 1.20

* CurrencyTest#testName: fix regex
This commit is contained in:
Pascal Schumacher
2018-04-09 20:09:58 +02:00
committed by Ricky Yim
parent 2c19fb1bd0
commit c07f01f063
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.19</version>
<version>1.20</version>
<classifier>android</classifier>
</dependency>
<dependency>
@@ -7,10 +7,9 @@ import org.junit.Test;
public class CurrencyTest extends AbstractFakerTest {
@Test
public void testName() {
assertThat(faker.currency().name(), matchesRegularExpression("[\\w\\' ]+"));
assertThat(faker.currency().name(), matchesRegularExpression("[\\w\\'\\.\\-\\(\\) ]+"));
}
@Test