Index: test/unittests/wasm/ast-decoder-unittest.cc |
diff --git a/test/unittests/wasm/ast-decoder-unittest.cc b/test/unittests/wasm/ast-decoder-unittest.cc |
index 0b1b79ea86a17d232211e005d2dd811c5b100c3b..9b54c5af140452f3414eb1d0bd10c3981da15d3e 100644 |
--- a/test/unittests/wasm/ast-decoder-unittest.cc |
+++ b/test/unittests/wasm/ast-decoder-unittest.cc |
@@ -2246,7 +2246,7 @@ TEST_F(LocalDeclDecoderTest, OneLocal) { |
LocalTypeMap map = Expand(decls); |
EXPECT_EQ(1, map.size()); |
- EXPECT_EQ(type, map.at(0)); |
+ EXPECT_EQ(type, map[0]); |
} |
} |