Skip to content

Commit ffb4b84

Browse files
committed
Fix two small typos
1 parent 82c9952 commit ffb4b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages_src/Tutorials/0#PropEr_introduction_to_Property-Based_Testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ and test it:
171171
Oops! This property does not hold for our program. PropEr ran some tests,
172172
eleven in total in this case, and found the input list `[0,0,1,0]` for which
173173
the property is false. Consequently, PropEr automatically _shrank_ this
174-
input list to a list of smaller length, actually of a minimal length, that
174+
input list to a list of smaller length, actually of minimal length, that
175175
also falsifies the property.
176176

177177
Let's test the property again:
@@ -212,7 +212,7 @@ duplicate elements in the input list. Oh dear!
212212
Of course, we can easily correct the problem by changing one of the `'<'` tests
213213
in the code of the `sort/1` function to `'=<'` and the function will now satisfy
214214
the `prop_same_length` property. However, this is not a tutorial on how to
215-
write a correct sorting function in Erlang. Unstead, it's a tutorial on how
215+
write a correct sorting function in Erlang. Instead, it's a tutorial on how
216216
to do property-based testing using PropEr.
217217

218218
Let us suppose that we actually _wanted_ to write a program that only sorts

0 commit comments

Comments
 (0)