Use ValueString instead of Value<>

Reviewers: mtomic, llugovic, msantl, mferencevic

Reviewed By: msantl

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2101
This commit is contained in:
Teon Banek
2019-05-27 17:29:58 +02:00
parent bb2dbc290f
commit c0dc37fe34
10 changed files with 30 additions and 30 deletions

View File

@@ -111,7 +111,7 @@ TEST_F(InterpreterTest, Parameters) {
auto stream = Interpret("RETURN $2 + $`a b`", {{"2", "da"}, {"a b", "ne"}});
ASSERT_EQ(stream.GetResults().size(), 1U);
ASSERT_EQ(stream.GetResults()[0].size(), 1U);
ASSERT_EQ(stream.GetResults()[0][0].Value<std::string>(), "dane");
ASSERT_EQ(stream.GetResults()[0][0].ValueString(), "dane");
}
{
// Non-primitive literal.