Skip to content

Commit 1ffb4f9

Browse files
committed
Fix small code smell
1 parent 4f99e3e commit 1ffb4f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/examples/schema_supplier/SchemaSupplierTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2020 the original author or authors.
2+
* Copyright 2016-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -99,7 +99,7 @@ void testSchemaSwitchingProperty() {
9999
insertFlintstones(mapper);
100100

101101
List<User> records = mapper.select(SelectDSLCompleter.allRows());
102-
assertThat(records.size()).isEqualTo(2);
102+
assertThat(records).hasSize(2);
103103

104104

105105
System.setProperty(SchemaSupplier.schema_property, "schema2");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy