Fix test: version number has changed.
authorLei Zhang <antiagainst@google.com>
Tue, 17 Nov 2015 21:46:55 +0000 (16:46 -0500)
committerLei Zhang <antiagainst@google.com>
Tue, 17 Nov 2015 21:46:55 +0000 (16:46 -0500)
test/BinaryHeaderGet.cpp

index ad149ae..b128aed 100644 (file)
@@ -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<uint32_t>(SpvMagicNumber), header.magic);
-  ASSERT_EQ(100u, header.version);
+  ASSERT_EQ(0x10000, header.version);
   ASSERT_EQ(static_cast<uint32_t>(SPV_GENERATOR_CODEPLAY), header.generator);
   ASSERT_EQ(1u, header.bound);
   ASSERT_EQ(0u, header.schema);