Skip to content

Commit

Permalink
fix a typo in test names
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Oct 28, 2024
1 parent 4917a69 commit 82f38b7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
)

func TestAnalayzeFile4Python(t *testing.T) {
func TestAnalyzeFile4Python(t *testing.T) {
tmpfile, err := os.CreateTemp("", "tmp.py")
if err != nil {
t.Logf("os.CreateTemp() error. err=[%v]", err)
Expand Down Expand Up @@ -46,7 +46,7 @@ class A:
}
}

func TestAnalayzeFile4PythonInvalid(t *testing.T) {
func TestAnalyzeFile4PythonInvalid(t *testing.T) {
tmpfile, err := os.CreateTemp("", "tmp.py")
if err != nil {
t.Logf("os.CreateTemp() error. err=[%v]", err)
Expand Down Expand Up @@ -85,7 +85,7 @@ class A:
}
}

func TestAnalayzeFile4PythonNoShebang(t *testing.T) {
func TestAnalyzeFile4PythonNoShebang(t *testing.T) {
tmpfile, err := os.CreateTemp("", "tmp.py")
if err != nil {
t.Logf("os.CreateTemp() error. err=[%v]", err)
Expand Down Expand Up @@ -127,7 +127,7 @@ func TestAnalayzeFile4PythonNoShebang(t *testing.T) {
}
}

func TestAnalayzeFile4Go(t *testing.T) {
func TestAnalyzeFile4Go(t *testing.T) {
tmpfile, err := os.CreateTemp("", "tmp.go")
if err != nil {
t.Logf("os.CreateTemp() error. err=[%v]", err)
Expand Down Expand Up @@ -167,7 +167,7 @@ func main() {
}
}

func TestAnalayzeFile4GoWithOnelineBlockComment(t *testing.T) {
func TestAnalyzeFile4GoWithOnelineBlockComment(t *testing.T) {
t.SkipNow()
tmpfile, err := os.CreateTemp("", "tmp.go")
if err != nil {
Expand Down Expand Up @@ -208,7 +208,7 @@ func main() {
}
}

func TestAnalayzeFile4GoWithCommentInnerBlockComment(t *testing.T) {
func TestAnalyzeFile4GoWithCommentInnerBlockComment(t *testing.T) {
tmpfile, err := os.CreateTemp("", "tmp.go")
if err != nil {
t.Logf("os.CreateTemp() error. err=[%v]", err)
Expand Down Expand Up @@ -423,7 +423,7 @@ func TestAnalyzeFile4Makefile(t *testing.T) {
}
}

func TestAnalayzeReader(t *testing.T) {
func TestAnalyzeReader(t *testing.T) {
buf := bytes.NewBuffer([]byte(`#!/bin/python
class A:
Expand Down Expand Up @@ -452,7 +452,7 @@ class A:
}
}

func TestAnalayzeReader_OnCallbacks(t *testing.T) {
func TestAnalyzeReader_OnCallbacks(t *testing.T) {
buf := bytes.NewBuffer([]byte(`foo
"""bar
Expand Down Expand Up @@ -529,7 +529,7 @@ const color = "blue"
}
}

func TestAnalayzeFile4Just(t *testing.T) {
func TestAnalyzeFile4Just(t *testing.T) {
tmpfile, err := os.CreateTemp("", "tmp.go")
if err != nil {
t.Logf("os.CreateTemp() error. err=[%v]", err)
Expand Down

0 comments on commit 82f38b7

Please sign in to comment.