Feat v0.9.2 converter consolidation (#75)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Has been skipped
CI/CD / test-runners (push) Has been skipped
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / test-go-pg (push) Successful in 2m51s
CI/CD / test-sqlite (push) Successful in 3m1s
CI/CD / build-and-deploy (push) Successful in 1m17s
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Has been skipped
CI/CD / test-runners (push) Has been skipped
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / test-go-pg (push) Successful in 2m51s
CI/CD / test-sqlite (push) Successful in 3m1s
CI/CD / build-and-deploy (push) Successful in 1m17s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #75.
This commit is contained in:
@@ -5,6 +5,8 @@ import (
|
||||
"testing"
|
||||
|
||||
"go.starlark.net/starlark"
|
||||
|
||||
"armature/sandbox"
|
||||
)
|
||||
|
||||
// ── parseOnAdvanceResult ────────────────────
|
||||
@@ -82,7 +84,7 @@ func TestParseOnAdvanceResult_EmptyDict(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// ── starlarkDictToMap ───────────────────────
|
||||
// ── DictToMap ───────────────────────
|
||||
|
||||
func TestStarlarkDictToMap_NestedStructure(t *testing.T) {
|
||||
inner := starlark.NewDict(1)
|
||||
@@ -98,7 +100,7 @@ func TestStarlarkDictToMap_NestedStructure(t *testing.T) {
|
||||
_ = outer.SetKey(starlark.String("nested"), inner)
|
||||
_ = outer.SetKey(starlark.String("members"), members)
|
||||
|
||||
m := starlarkDictToMap(outer)
|
||||
m := sandbox.DictToMap(outer)
|
||||
|
||||
if m["title"] != "Test" {
|
||||
t.Errorf("expected title='Test', got %v", m["title"])
|
||||
|
||||
Reference in New Issue
Block a user