Commit 7dcc21e
committed
docs: Add comment marking fatalError path as untestable
- Added documentation explaining why the fatalError path in Singleton.shared
cannot be tested in unit tests
- Clarifies that the error path is testable via createShared() directly
- Documents that fatalError is intentional for production programming errors1 parent d9955ee commit 7dcc21e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
0 commit comments