File tree 3 files changed +12
-11
lines changed
3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -58,4 +58,5 @@ class TableOfContentsSpec: QuickSpec {
58
58
}
59
59
}
60
60
}
61
+
61
62
}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class MyBeautifulClass {
46
46
47
47
48
48
func iDontWantToDoThisButWeMustReleaseASAP () {
49
- let element = elements[OhShit._0 ] // <--- OhShit Constant
49
+ let element = elements[OhShit.os0 ] // <--- OhShit Constant
50
50
doSomeThing (with : element)
51
51
}
52
52
Original file line number Diff line number Diff line change 1
1
public class OhShit {
2
2
3
3
4
- public static let _null : Any ? = nil
5
- public static let _empty = " "
4
+ public static let osNull : Any ? = nil
5
+ public static let osEmpty = " "
6
6
7
- public static let _true = true
8
- public static let _false = false
7
+ public static let osTrue = true
8
+ public static let osFalse = false
9
9
10
- public static let N_1 = - 1
11
- public static let _0 = 0
12
- public static let _1 = 1
10
+ public static let osN1 = - 1
11
+ public static let os0 = 0
12
+ public static let os1 = 1
13
13
14
- public static let N_1I64 : Int64 = - 1
15
- public static let _0I64 : Int64 = 0
16
- public static let _1I64 : Int64 = 1
14
+ public static let osN1I64 : Int64 = - 1
15
+ public static let os0I64 : Int64 = 0
16
+ public static let os1I64 : Int64 = 1
17
17
18
18
19
19
private init ( ) { }
You can’t perform that action at this time.
0 commit comments