From: Lei Zhang Date: Tue, 17 Nov 2015 21:46:55 +0000 (-0500) Subject: Fix test: version number has changed. X-Git-Tag: upstream/2018.6~1434 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa50c45e3b351c40ec821dd2a36db7e5cc58e610;p=platform%2Fupstream%2FSPIRV-Tools.git Fix test: version number has changed. --- diff --git a/test/BinaryHeaderGet.cpp b/test/BinaryHeaderGet.cpp index ad149ae..b128aed 100644 --- a/test/BinaryHeaderGet.cpp +++ b/test/BinaryHeaderGet.cpp @@ -24,8 +24,8 @@ // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -#include "UnitSPIRV.h" #include "../source/spirv_constant.h" +#include "UnitSPIRV.h" namespace { @@ -62,7 +62,7 @@ TEST_F(BinaryHeaderGet, Default) { ASSERT_EQ(SPV_SUCCESS, spvBinaryHeaderGet(&const_bin, endian, &header)); ASSERT_EQ(static_cast(SpvMagicNumber), header.magic); - ASSERT_EQ(100u, header.version); + ASSERT_EQ(0x10000, header.version); ASSERT_EQ(static_cast(SPV_GENERATOR_CODEPLAY), header.generator); ASSERT_EQ(1u, header.bound); ASSERT_EQ(0u, header.schema);