Skip to content

Commit 72df773

Browse files
authored
lua-tests: Rename DrawPrimitivesTest to DrawNodeTest (#2697)
rename DrawPrimitives to DrawNode
1 parent 094b45b commit 72df773

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/lua-tests/Content/src/DrawNodeTest/DrawNodeTest.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
3-
local function drawPrimitivesMainLayer()
2+
local function DrawNodeMainLayer()
43
local kItemTagBasic = 1000
54
local testCount = 1
65
local maxCases = testCount
@@ -197,7 +196,7 @@ end
197196

198197
function DrawNodeTest()
199198
local scene = ax.Scene:create()
200-
scene:addChild(drawPrimitivesMainLayer())
199+
scene:addChild(DrawNodeMainLayer())
201200
scene:addChild(CreateBackMenuItem())
202201
return scene
203202
end

0 commit comments

Comments
 (0)