Skip to content

Commit 64d6307

Browse files
Merge pull request #5696 from airspeedswift/sk-unit-test
Move unit test to more appropriate class
2 parents d2ff82c + e381287 commit 64d6307

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)