Skip to content

Commit e381287

Browse files
committed
move unit test to more appropriate class
1 parent c297932 commit e381287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/stdlib/SpriteKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ SpriteKitTests.test("getRed(_:green:blue:alpha:)") {
4646

4747
if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
4848
SpriteKitTests.test("SKNode.setValue(_:forAttribute:)") {
49-
let node = SKNode()
49+
let node = SKSpriteNode()
5050
let attrVal = SKAttributeValue(float: 2.0)
5151
node.setValue(attrVal, forAttribute: "test")
5252
expectEqual(node.attributeValues["test"], attrVal)

0 commit comments

Comments
 (0)