robfig / soy

Go implementation for Soy templates (Google Closure templates)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test failure: out of order

nathany opened this issue · comments

For your information, I saw this test failure due to maps not having a guaranteed order (Go 1.3):

--- FAIL: TestForeach (0.00 seconds)
    exec_test.go:727: foreachkeys (success 0) (map[map:map[a:<nil> b:<nil> c:<nil>]]): expected
            "abc"
        got
            "cab"
--- FAIL: TestDataRefs (0.00 seconds)
    exec_test.go:727: map: expected
            "{a: 5, b: [true], c: {}}"
        got
            "{b: [true], c: {}, a: 5}"
FAIL
FAIL    github.com/robfig/soy/soyhtml   0.035s

Thanks for the report! Fixed in 0a58ab3