Skip to content

Commit

Permalink
Optionality of strcmp() varies
Browse files Browse the repository at this point in the history
  • Loading branch information
grynspan committed Dec 10, 2024
1 parent 4a66441 commit 4be404f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/TestingTests/VariadicGenericTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ private import _TestingInternals
let nilString: String? = nil
#expect(swt_nullableCString(nilString) == false)

let lhs: String? = "abc"
let rhs: String? = "123"
let lhs = "abc"
let rhs = "123"
#expect(0 != strcmp(lhs, rhs))
}

Expand Down

0 comments on commit 4be404f

Please sign in to comment.