From f411c4cf4c2f69d6e1d3d6b8d19bc9374bda7177 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Wed, 24 Aug 2022 17:02:55 -0700 Subject: [PATCH] Test fix --- IDEHelper/Tests/src/Unions.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/Tests/src/Unions.bf b/IDEHelper/Tests/src/Unions.bf index 227cfc72..6d74ac2b 100644 --- a/IDEHelper/Tests/src/Unions.bf +++ b/IDEHelper/Tests/src/Unions.bf @@ -53,7 +53,7 @@ namespace Tests ud.mInt16 = 234; Test.Assert(sizeof(UnionD) == 6); Test.Assert(alignof(UnionD) == 4); - Test.Assert(((int16*)&ud)[3] == 234); + Test.Assert(((int16*)&ud)[2] == 234); } } }