We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16e7ce commit c4667abCopy full SHA for c4667ab
Tests/AppTests/ResourceReloadIdentifierTests.swift
@@ -12,20 +12,19 @@
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
-import XCTest
16
-
17
@testable import App
18
19
import Dependencies
+import Testing
20
import Vapor
21
22
23
-class ResourceReloadIdentifierTests: AppTestCase {
24
- func test_withAppVersion() throws {
+@Suite struct ResourceReloadIdentifierTests {
+ @Test func withAppVersion() throws {
25
withDependencies {
26
$0.environment.appVersion = { "1.2.3" }
27
} operation: {
28
- XCTAssertEqual(ResourceReloadIdentifier.value, "1.2.3")
+ #expect(ResourceReloadIdentifier.value == "1.2.3")
29
}
30
31
0 commit comments