@@ -58,7 +58,7 @@ describe("Singletons checks", () => {
5858 expect ( dm . fail ) . not . toHaveBeenCalled ( )
5959 } )
6060
61- it ( "does not fail with singleton usage additons " , async ( ) => {
61+ it ( "does not fail with singleton usage additions " , async ( ) => {
6262 dm . addedLines = `
6363+ let favicon = FaviconManager.shared.favicon(for: url)
6464 `
@@ -67,7 +67,7 @@ describe("Singletons checks", () => {
6767 expect ( dm . fail ) . not . toHaveBeenCalled ( )
6868 } )
6969
70- it ( "does not fail with commented out singleton additons " , async ( ) => {
70+ it ( "does not fail with commented out singleton additions " , async ( ) => {
7171 dm . addedLines = `
7272+ // static let shared = FaviconManager()
7373 `
@@ -76,7 +76,7 @@ describe("Singletons checks", () => {
7676 expect ( dm . fail ) . not . toHaveBeenCalled ( )
7777 } )
7878
79- it ( "fails with singleton additons " , async ( ) => {
79+ it ( "fails with singleton additions " , async ( ) => {
8080 dm . addedLines = `
8181+ static let shared = FaviconManager()
8282 `
@@ -85,7 +85,7 @@ describe("Singletons checks", () => {
8585 expect ( dm . fail ) . toHaveBeenCalled ( )
8686 } )
8787
88- it ( "fails with singleton additons with type specifier" , async ( ) => {
88+ it ( "fails with singleton additions with type specifier" , async ( ) => {
8989 dm . addedLines = `
9090+ static let shared: FaviconManager = .init()
9191 `
@@ -94,7 +94,7 @@ describe("Singletons checks", () => {
9494 expect ( dm . fail ) . toHaveBeenCalled ( )
9595 } )
9696
97- it ( "fails with private singleton additons " , async ( ) => {
97+ it ( "fails with private singleton additions " , async ( ) => {
9898 dm . addedLines = `
9999+ private static let shared = FaviconManager()
100100 `
@@ -103,7 +103,7 @@ describe("Singletons checks", () => {
103103 expect ( dm . fail ) . toHaveBeenCalled ( )
104104 } )
105105
106- it ( "fails with internal singleton additons " , async ( ) => {
106+ it ( "fails with internal singleton additions " , async ( ) => {
107107 dm . addedLines = `
108108+ internal static let shared = FaviconManager()
109109 `
@@ -112,7 +112,7 @@ describe("Singletons checks", () => {
112112 expect ( dm . fail ) . toHaveBeenCalled ( )
113113 } )
114114
115- it ( "fails with public singleton additons " , async ( ) => {
115+ it ( "fails with public singleton additions " , async ( ) => {
116116 dm . addedLines = `
117117+ public static let shared = FaviconManager()
118118 `
@@ -121,7 +121,7 @@ describe("Singletons checks", () => {
121121 expect ( dm . fail ) . toHaveBeenCalled ( )
122122 } )
123123
124- it ( "fails with var singleton additons " , async ( ) => {
124+ it ( "fails with var singleton additions " , async ( ) => {
125125 dm . addedLines = `
126126+ static var shared = FaviconManager()
127127 `
@@ -130,7 +130,7 @@ describe("Singletons checks", () => {
130130 expect ( dm . fail ) . toHaveBeenCalled ( )
131131 } )
132132
133- it ( "fails with private var singleton additons " , async ( ) => {
133+ it ( "fails with private var singleton additions " , async ( ) => {
134134 dm . addedLines = `
135135+ private static var shared = FaviconManager()
136136 `
@@ -139,7 +139,7 @@ describe("Singletons checks", () => {
139139 expect ( dm . fail ) . toHaveBeenCalled ( )
140140 } )
141141
142- it ( "fails with internal var singleton additons " , async ( ) => {
142+ it ( "fails with internal var singleton additions " , async ( ) => {
143143 dm . addedLines = `
144144+ internal static var shared = FaviconManager()
145145 `
@@ -148,7 +148,7 @@ describe("Singletons checks", () => {
148148 expect ( dm . fail ) . toHaveBeenCalled ( )
149149 } )
150150
151- it ( "fails with public var singleton additons " , async ( ) => {
151+ it ( "fails with public var singleton additions " , async ( ) => {
152152 dm . addedLines = `
153153+ public static var shared = FaviconManager()
154154 `
0 commit comments