Skip to content

Commit c4667ab

Browse files
committed
Convert ResourceReloadIdentifierTests
1 parent e16e7ce commit c4667ab

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Tests/AppTests/ResourceReloadIdentifierTests.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
import XCTest
16-
1715
@testable import App
1816

1917
import Dependencies
18+
import Testing
2019
import Vapor
2120

2221

23-
class ResourceReloadIdentifierTests: AppTestCase {
24-
func test_withAppVersion() throws {
22+
@Suite struct ResourceReloadIdentifierTests {
23+
@Test func withAppVersion() throws {
2524
withDependencies {
2625
$0.environment.appVersion = { "1.2.3" }
2726
} operation: {
28-
XCTAssertEqual(ResourceReloadIdentifier.value, "1.2.3")
27+
#expect(ResourceReloadIdentifier.value == "1.2.3")
2928
}
3029
}
3130
}

0 commit comments

Comments
 (0)