Fix test: version number has changed.

This commit is contained in:
Lei Zhang 2015-11-17 16:46:55 -05:00
parent 62fcaf1a74
commit aa50c45e3b

View 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);