The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
livc
0D

Go-koans 无法 test 通过

  •  
  •   livc ·
    livc · Aug 21, 2016 · 1266 views
    This topic created in 3597 days ago, the information mentioned may be changed or developed.

    https://github.com/cdarwin/go-koans

    这个项目。

    ➜  go-koans git:(master) go test
    
    about_basics.go:4
    assert(__bool__ == true)  // what is truth?
    
    exit status 1
    FAIL    _/root/go-koans 0.002s
    

    官方的文档没看懂,他说

    Make the failing tests pass, by replacing these types of __variables__ with real values.
    

    是什么意思呀?而且这个 repo 也没有 issue ……

    2 replies    2016-08-21 22:53:27 +08:00
    kotokz
        1
    kotokz  
       Aug 21, 2016
    这个项目类似小题目集,让你自己理解代码吧结果写上去
    所以并不是直接能通过的
    livc
        2
    livc  
    OP
       Aug 21, 2016
    @kotokz 原来是这个意思,我还以为先 test 通过才写代码,谢谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2716 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:42 · PVG 19:42 · LAX 04:42 · JFK 07:42
    ♥ Do have faith in what you're doing.