Last active
November 4, 2022 11:32
-
-
Save adetaylor/73fbf89032c1efbb2f8132bd6b2ff92d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST(ValuesTest, TypeConfusion) { | |
Value parent(Value::Type::LIST); | |
parent.GetList().Append(Value(Value::Type::LIST)); | |
Value& child = parent.GetList().back(); | |
child.SetKey("a", Value(3)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment