diff --git a/Tests/StencilTests/NowNodeTests.swift b/Tests/StencilTests/NowNodeTests.swift index 41ed16f7..3b1ea1d5 100644 --- a/Tests/StencilTests/NowNodeTests.swift +++ b/Tests/StencilTests/NowNodeTests.swift @@ -17,9 +17,7 @@ import XCTest final class NowNodeTests: XCTestCase { func testParsing() throws { _ = try { - #if os(Linux) - throw skip() - #else + #if !os(Linux) let tokens: [Token] = [.block(value: "now", at: .unknown)] let parser = TokenParser(tokens: tokens, environment: Environment()) @@ -39,9 +37,7 @@ final class NowNodeTests: XCTestCase { }() _ = try { - #if os(Linux) - throw skip() - #else + #if !os(Linux) let tokens: [Token] = [.block(value: "now \"HH:mm\"", at: .unknown)] let parser = TokenParser(tokens: tokens, environment: Environment()) let nodes = try parser.parse() @@ -62,9 +58,7 @@ final class NowNodeTests: XCTestCase { func testRendering() throws { _ = try { - #if os(Linux) - throw skip() - #else + #if !os(Linux) let node = NowNode(format: Variable("\"yyyy-MM-dd\"")) let formatter = DateFormatter()