Skip to content

Commit 9664c75

Browse files
authored
fix TestingSyncUpForm.tutorial (#3091)
* fix TestingSyncUpForm.tutorial * revert
1 parent bac0d10 commit 9664c75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/03-SyncUpForm/TestingSyncUpForm.tutorial

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@
119119
feature has a dependency, and we will provide the key path `\.uuid` to denote the dependence
120120
on UUID generation.
121121

122-
@Code(name: "SyncUpFormTests.swift", file: TestingSyncUpForm-02-code-0004.swift, previousFile: TestingSyncUpForm-02-code-0004-previous.swift)
122+
@Code(name: "SyncUpForm.swift", file: TestingSyncUpForm-02-code-0004.swift, previousFile: TestingSyncUpForm-02-code-0004-previous.swift)
123123
}
124124

125125
@Step {
126126
Then, in the reducer's logic, any place we reached out to the uncontrolled UUID generator,
127127
for example `Attendee.ID()`, we will instead use the `uuid` dependency.
128128

129-
@Code(name: "SyncUpFormTests.swift", file: TestingSyncUpForm-02-code-0005.swift)
129+
@Code(name: "SyncUpForm.swift", file: TestingSyncUpForm-02-code-0005.swift)
130130
}
131131

132132
With that one change, if you were to run the test suite again you would get the same test

0 commit comments

Comments
 (0)