Skip to content

Commit 7406f0d

Browse files
committed
Fix \n newlines to ~n ones
1 parent ffb4b84 commit 7406f0d

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

pages_src/Tutorials/2#PropEr_testing_of_generic_servers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ false, the `Action` specified as the first argument will be executed.
575575
?SERVER:start_link(),
576576
{History,State,Result} = run_commands(?MODULE, Cmds),
577577
?SERVER:stop(),
578-
?WHENFAIL(io:format("History: ~w\nState: ~w\nResult: ~w\n",
578+
?WHENFAIL(io:format("History: ~w~nState: ~w\nResult: ~w~n",
579579
[History,State,Result]),
580580
Result =:= ok)
581581
end)).
@@ -840,7 +840,7 @@ to collect statistics about how often each command was executed.
840840
?SERVER:start_link(),
841841
{History,State,Result} = run_commands(?MODULE, Cmds),
842842
?SERVER:stop(),
843-
?WHENFAIL(io:format("History: ~w\nState: ~w\nResult: ~w\n",
843+
?WHENFAIL(io:format("History: ~w~nState: ~w\nResult: ~w~n",
844844
[History,State,Result]),
845845
aggregate(command_names(Cmds), Result =:= ok))
846846
end)).

pages_src/Tutorials/3#PropEr_testing_of_process_interaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ this property to pass the tests:
258258
?MASTER:start_link(),
259259
{History,State,Result} = run_commands(?MODULE, Cmds),
260260
?MASTER:stop(),
261-
?WHENFAIL(io:format("History: ~w\nState: ~w\nResult: ~w\n",
261+
?WHENFAIL(io:format("History: ~w~nState: ~w\nResult: ~w~n",
262262
[History, State, Result]),
263263
aggregate(command_names(Cmds), Result =:= ok))
264264
end)).
@@ -337,7 +337,7 @@ output more informative debugging information.
337337
?MASTER:start_link(),
338338
{History,State,Result} = run_commands(?MODULE, Cmds),
339339
?MASTER:stop(),
340-
?WHENFAIL(io:format("History: ~w\nState: ~w\nRes: ~w\n",
340+
?WHENFAIL(io:format("History: ~w~nState: ~w\nRes: ~w~n",
341341
[pretty_history(History), pretty_state(State), Result]),
342342
aggregate(command_names(Cmds), Result =:= ok))
343343
end)).

pages_src/Tutorials/4#PropEr_testing_of_finite_state_machines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ out of food in the storage.
186186
%% to initialize the model state
187187
{History, State, Result} = proper_fsm:run_commands(?MODULE, Cmds),
188188
stop(),
189-
?WHENFAIL(io:format("History: ~w\nState: ~w\nResult: ~w\n",
189+
?WHENFAIL(io:format("History: ~w~nState: ~w\nResult: ~w~n",
190190
[History, State, Result]),
191191
Result =:= ok)
192192
end).
@@ -437,7 +437,7 @@ have a look at the testcase distribution.
437437
%% to initialize the model state
438438
{History, State, Result} = proper_fsm:run_commands(?MODULE, Cmds),
439439
stop(),
440-
?WHENFAIL(io:format("History: ~w\nState: ~w\nResult: ~w\n",
440+
?WHENFAIL(io:format("History: ~w~nState: ~w\nResult: ~w~n",
441441
[History, State, Result]),
442442
aggregate(zip(proper_fsm:state_names(History),
443443
command_names(Cmds)),

resources/code/food_fsm.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ prop_doesnt_run_out_of_supplies() ->
255255
proper_fsm:run_commands(?MODULE, Cmds),
256256
stop(),
257257
?WHENFAIL(
258-
io:format("History: ~w\nState: ~w\nResult: ~w\n",
258+
io:format("History: ~w~nState: ~w\nResult: ~w~n",
259259
[History, State, Result]),
260260
aggregate(zip(proper_fsm:state_names(History),
261261
command_names(Cmds)),

resources/code/movies/movie_statem.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ prop_server_works_fine() ->
3838
?SERVER:start_link(),
3939
{History,State,Result} = run_commands(?MODULE, Cmds),
4040
?SERVER:stop(),
41-
?WHENFAIL(io:format("History: ~w\nState: ~w\nResult: ~w\n",
41+
?WHENFAIL(io:format("History: ~w~nState: ~w\nResult: ~w~n",
4242
[History,State,Result]),
4343
aggregate(command_names(Cmds), Result =:= ok))
4444
end)).

resources/code/ping_pong/master_statem.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ prop_master() ->
2727
{History,State,Result} = run_commands(?MODULE, Cmds),
2828
?MASTER:stop(),
2929
?WHENFAIL(
30-
io:format("History: ~w\nState: ~w\nResult: ~w\n",
30+
io:format("History: ~w~nState: ~w\nResult: ~w~n",
3131
[pretty_history(History), pretty_state(State), Result]),
3232
aggregate(command_names(Cmds), Result =:= ok))
3333
end)).

resources/code/ping_pong/ping_pong_statem.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ prop_ping_pong_works() ->
2727
{History,State,Result} = run_commands(?MODULE, Cmds),
2828
?MASTER:stop(),
2929
?WHENFAIL(
30-
io:format("History: ~w\nState: ~w\nResult: ~w\n",
30+
io:format("History: ~w~nState: ~w\nResult: ~w~n",
3131
%% [History, State, Result]),
3232
[pretty_history(History), pretty_state(State), Result]),
3333
aggregate(command_names(Cmds), Result =:= ok))

0 commit comments

Comments
 (0)