Skip to content

Commit

Permalink
refactor: Fixed var names
Browse files Browse the repository at this point in the history
  • Loading branch information
yoheimuta committed Jul 27, 2018
1 parent 4cfb860 commit 64a4351
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions BufferedLoggerTests/BufferedOutputTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -229,17 +229,17 @@ class BufferedOutputTests: XCTestCase {
func testSuspend() {
let tests: [(
name: String,
isCallSuspend: Bool,
callSuspend: Bool,
wantCalledWriteCount: Int
)] = [
(
name: "expect a call to flush without suspension",
isCallSuspend: false,
callSuspend: false,
wantCalledWriteCount: 1
),
(
name: "expect no call to flush after suspension",
isCallSuspend: true,
callSuspend: true,
wantCalledWriteCount: 0
)
]
Expand All @@ -252,7 +252,7 @@ class BufferedOutputTests: XCTestCase {
retryRule: DefaultRetryRule(retryLimit: 1)))
output.start()

if test.isCallSuspend {
if test.callSuspend {
output.suspend()
}

Expand All @@ -272,17 +272,17 @@ class BufferedOutputTests: XCTestCase {
func testResume() {
let tests: [(
name: String,
isCallResume: Bool,
callResume: Bool,
wantCalledWriteCount: Int
)] = [
(
name: "expect no call to flush without resumption",
isCallResume: false,
callResume: false,
wantCalledWriteCount: 0
),
(
name: "expect a call to flush after resumption",
isCallResume: true,
callResume: true,
wantCalledWriteCount: 1
)
]
Expand All @@ -296,7 +296,7 @@ class BufferedOutputTests: XCTestCase {
output.start()
output.suspend()

if test.isCallResume {
if test.callResume {
output.resume()
}

Expand Down

0 comments on commit 64a4351

Please sign in to comment.