Skip to content

Commit 93243e5

Browse files
committed
Fix expected test output.
1 parent ab25084 commit 93243e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Interpreter/enforce_exclusive_access.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ExclusiveAccessTestSuite.test("ModifyInsideRead")
4747
.skip(.custom(
4848
{ _isFastAssertConfiguration() },
4949
reason: "this trap is not guaranteed to happen in -Ounchecked"))
50-
.crashOutputMatches("modify/read access conflict detected on address")
50+
.crashOutputMatches("read/modify access conflict detected on address")
5151
.code
5252
{
5353
readAndPerform(&globalX) {
@@ -60,7 +60,7 @@ ExclusiveAccessTestSuite.test("ReadInsideModify")
6060
.skip(.custom(
6161
{ _isFastAssertConfiguration() },
6262
reason: "this trap is not guaranteed to happen in -Ounchecked"))
63-
.crashOutputMatches("read/modify access conflict detected on address")
63+
.crashOutputMatches("modify/read access conflict detected on address")
6464
.code
6565
{
6666
modifyAndPerform(&globalX) {
@@ -129,7 +129,7 @@ ExclusiveAccessTestSuite.test("ModifyFollowedByModify") {
129129
//.skip(.custom(
130130
// { _isFastAssertConfiguration() },
131131
// reason: "this trap is not guaranteed to happen in -Ounchecked"))
132-
// .crashOutputMatches("read/modify access conflict detected on address")
132+
// .crashOutputMatches("modify/read access conflict detected on address")
133133
// .code
134134
//{
135135
// var x = X()
@@ -148,7 +148,7 @@ ExclusiveAccessTestSuite.test("ModifyFollowedByModify") {
148148
//.skip(.custom(
149149
// { _isFastAssertConfiguration() },
150150
// reason: "this trap is not guaranteed to happen in -Ounchecked"))
151-
// .crashOutputMatches("modify/read access conflict detected on address")
151+
// .crashOutputMatches("read/modify access conflict detected on address")
152152
// .code
153153
//{
154154
// var x = X()

0 commit comments

Comments
 (0)