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:
Bob van der Linden 2024-11-03 21:01:45 +01:00
parent 37a7bfa163
commit f90f14042a
2 changed files with 2 additions and 1 deletions

View file

@ -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 ]

View file

@ -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}"; }))
]