mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 05:31:00 +01:00
libexpr: use allocBytes() to allocate StringData
This commit is contained in:
parent
9b9446e860
commit
7cd3252946
17 changed files with 79 additions and 76 deletions
|
|
@ -73,7 +73,7 @@ TEST_F(JSONValueTest, StringQuotes)
|
|||
TEST_F(JSONValueTest, DISABLED_Path)
|
||||
{
|
||||
Value v;
|
||||
v.mkPath(state.rootPath(CanonPath("/test")));
|
||||
v.mkPath(state.rootPath(CanonPath("/test")), state.mem);
|
||||
ASSERT_EQ(getJSONValue(v), "\"/nix/store/g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-x\"");
|
||||
}
|
||||
} /* namespace nix */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue