ray-x / go.nvim

G'day Nvimer, Joyful Gopher: Discover the Feature-Rich Go Plugin for Neovim
MIT License
2.06k stars 123 forks source link

bugfix: Delete doc/tags #283

Closed ShinThirty closed 1 year ago

ShinThirty commented 1 year ago

Delete doc/tags file from the repo so that it can be generated on the go without disturbing local git status.

ShinThirty commented 1 year ago

Looks like the unit tests are broken

INF: plugin guihua.lua module guihua.sprite  not loaded 
INF: plugin guihua.lua module guihua.sprite  not loaded 
0
go build go vet . exited with code: 1 failed
0
go build go test ./... exited with code: 1 failed

========================================    
Testing:    /home/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua    
{ "go", "build", "go", "vet", "." } 
Fail    ||  should run func make should make function   
            ...e/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua:25: Expected objects to be the same.
            Passed in:
            (table: 0x7f1f3246e6a0) {
              [1] = 'go'
             *[2] = 'build'
              [3] = 'go'
              [4] = 'vet'
              [5] = '.' }
            Expected:
            (table: 0x7f1f32470ce8) {
              [1] = 'go'
             *[2] = 'vet'
              [3] = '.' }

            stack traceback:
                ...e/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua:25: in function <...e/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua:9>

Fail    ||  should run func make should make function inside a source code  
            ...e/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua:42: Expected objects to be the same.
            Passed in:
            (table: 0x7f1f3242c508) {
              [1] = 'go'
             *[2] = 'build'
              [3] = 'go'
              [4] = 'test'
              [5] = './...' }
            Expected:
            (table: 0x7f1f3242d490) {
              [1] = 'go'
             *[2] = 'test'
              [3] = './...' }

            stack traceback:
                ...e/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua:42: in function <...e/runner/work/go.nvim/go.nvim/lua/tests/go_make_spec.lua:27>

Success:    0   
Failed :    2   
Errors :    0   
========================================    
Tests Failed. Exit: 1   
"tags.go" "tags.go" [New] 12L, 99B written
ShinThirty commented 1 year ago

Other unit tests all passed.