diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 47d57a6..1cdc955 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,21 +28,3 @@ jobs: uses: shogo82148/actions-goveralls@v1 with: path-to-profile: coverage.out - - Lint: - name: Lint checks - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set up Go 1.21 - uses: actions/setup-go@v2 - with: - go-version: 1.21 - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 - with: - # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v1.50.1 diff --git a/pkg/options/run_test.go b/pkg/options/run_test.go index 55f57c0..144b8b2 100644 --- a/pkg/options/run_test.go +++ b/pkg/options/run_test.go @@ -153,6 +153,6 @@ func TestRunPkg(t *testing.T) { assert.Equal(t, err, nil) resStr := strings.ReplaceAll(buf.String(), "\r\n", "") resStr = strings.ReplaceAll(resStr, "\n", "") - + assert.Equal(t, resStr, "The_first_kcl_program: Hello World!") }