mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-26 14:09:19 -04:00
20 lines
357 B
Go
20 lines
357 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func Test_extractExampleSnippets(t *testing.T) {
|
|
t.Skip("only for debugging purpose")
|
|
|
|
example, err := os.ReadFile("../../../golangci-lint/.golangci.reference.yml")
|
|
require.NoError(t, err)
|
|
|
|
m, err := extractExampleSnippets(example)
|
|
require.NoError(t, err)
|
|
|
|
t.Log(m)
|
|
}
|