Skip to content

Commit

Permalink
[Gardening] Remove unused snapshot file, reorder tests to match case …
Browse files Browse the repository at this point in the history
…declaration
  • Loading branch information
n committed Sep 12, 2020
1 parent 61e489f commit c43a8e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BlueprintUICommonControls/Tests/Sources/BoxTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ class BoxTests: XCTestCase {
do {
var box = Box()
box.backgroundColor = .blue
box.cornerStyle = .rounded(radius: 10.0)
box.cornerStyle = .semicircle
compareSnapshot(
of: box,
size: CGSize(width: 100, height: 100),
identifier: "rounded")
size: CGSize(width: 200, height: 100),
identifier: "semicircle")
}

do {
var box = Box()
box.backgroundColor = .blue
box.cornerStyle = .semicircle
box.cornerStyle = .rounded(radius: 10.0)
compareSnapshot(
of: box,
size: CGSize(width: 200, height: 100),
identifier: "semicircle")
size: CGSize(width: 100, height: 100),
identifier: "rounded")
}
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c43a8e4

Please sign in to comment.