Skip to content

Commit

Permalink
Merge pull request #35 from xushiwei/test
Browse files Browse the repository at this point in the history
_yunit.gox => _yapt.gox
  • Loading branch information
xushiwei authored Jan 28, 2024
2 parents b9994a6 + d6546ac commit 8bb9e47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gop.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ gop 1.1

project _yap.gox App github.com/goplus/yap

project _yunit.gox App github.com/goplus/yap/ytest
class _yunit.gox Case
project _yapt.gox App github.com/goplus/yap/ytest
class _yapt.gox Case

project _ytest.gox App github.com/goplus/yap/ytest
class _ytest.gox Case
4 changes: 2 additions & 2 deletions ytest/demo/_example/example_ytest.gox
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ run "postWithAuth", => {
"title": title,
"author": author,
}
ret 200 // match resp.code, 200
ret 200 # match resp.code, 200
echo "body:", resp.body
}

run "mathJsonObject", => {
run "matchJsonObject", => {
title := Var(string)
author := Var(string)
id := "123"
Expand Down
2 changes: 1 addition & 1 deletion ytest/demo/_example/gop_autogen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (this *case_example) Main() {
fmt.Println("body:", this.Resp().Body())
})
//line ytest/demo/example/example_ytest.gox:37:1
this.Run("mathJsonObject", func() {
this.Run("matchJsonObject", func() {
//line ytest/demo/example/example_ytest.gox:38:1
title := ytest.Gopx_Var_Cast__0[string]()
//line ytest/demo/example/example_ytest.gox:39:1
Expand Down

0 comments on commit 8bb9e47

Please sign in to comment.