test(tvix/glue): check context of __toString after toJSON
Change-Id: I65e3a8e8284ffb4986970ea67ed8d6b216e1eb66 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12730 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
37a7bfa163
commit
f90f14042a
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
|||
[ true true true true true true true true true true true true true ]
|
||||
[ true true true true true true true true true true true true true true ]
|
||||
|
|
|
@ -80,4 +80,5 @@ in
|
|||
# `toJSON` tests
|
||||
(builtins.hasContext (builtins.toJSON an-str))
|
||||
(builtins.hasContext (builtins.toJSON an-list))
|
||||
(builtins.hasContext (builtins.toJSON { __toString = _: "${drv}"; }))
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue