Skip to content

Commit 025c9f9

Browse files
committed
Fix netlify URLs
Netlify deprecated automatic redirects of netlify.com (meant to host netlify-the-company content) to netlify.app (meant ot host netlify customer content). These links are now all broken :< See: https://answers.netlify.com/t/deprecating-automatic-com-redirects/115442
1 parent 43d510d commit 025c9f9

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ New features:
124124
## 3.0.0
125125

126126
There are many significant changes!
127-
See [Upgrading elm-program-test 2.x to 3.x](https://elm-program-test.netlify.com/upgrade-3.0.0.html) for more details about the following changes.
127+
See [Upgrading elm-program-test 2.x to 3.x](https://elm-program-test.netlify.app/upgrade-3.0.0.html) for more details about the following changes.
128128

129129
API Changes:
130130

@@ -140,9 +140,9 @@ New features:
140140

141141
New documentation:
142142

143-
- new guidebook: [Testing programs with interactive views](https://elm-program-test.netlify.com/html.html)
144-
- new guidebook: [Testing programs with Cmds](https://elm-program-test.netlify.com/cmds.html)
145-
- new guidebook: [Testing programs with ports](https://elm-program-test.netlify.com/cmds.html)
143+
- new guidebook: [Testing programs with interactive views](https://elm-program-test.netlify.app/html.html)
144+
- new guidebook: [Testing programs with Cmds](https://elm-program-test.netlify.app/cmds.html)
145+
- new guidebook: [Testing programs with ports](https://elm-program-test.netlify.app/cmds.html)
146146

147147

148148
## 2.3.2

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ for testing your Elm programs as complete units.
1515
```elm-test install avh4/elm-program-test```
1616

1717

18-
## [Guidebooks](https://elm-program-test.netlify.com/#guidebooks)
18+
## [Guidebooks](https://elm-program-test.netlify.app/#guidebooks)
1919

2020
Note: If you are just looking for a quick example of what using `elm-program-test` looks like,
2121
see the ["basic example"](#basic-example) below.
2222

2323
For more detailed documentation, the following guides show examples of how to use
2424
`elm-program-test` to test different aspects of an Elm program:
2525

26-
- [Testing programs with interactive views](https://elm-program-test.netlify.com/html.html) &mdash;
26+
- [Testing programs with interactive views](https://elm-program-test.netlify.app/html.html) &mdash;
2727
shows an example of test-driving adding form validation to an Elm program
28-
- [Testing programs with Cmds](https://elm-program-test.netlify.com/cmds.html) &mdash; shows testing a program
28+
- [Testing programs with Cmds](https://elm-program-test.netlify.app/cmds.html) &mdash; shows testing a program
2929
that uses `Http.get` and `Http.post`
30-
- [Testing programs with ports](https://elm-program-test.netlify.com/ports.html) &mdash; shows testing a program
30+
- [Testing programs with ports](https://elm-program-test.netlify.app/ports.html) &mdash; shows testing a program
3131
that uses ports to interface with JavaScript
32-
- [Upgrading from elm-program-test 2.x to 3.x](https://elm-program-test.netlify.com/upgrade-3.0.0.html)
32+
- [Upgrading from elm-program-test 2.x to 3.x](https://elm-program-test.netlify.app/upgrade-3.0.0.html)
3333

3434

3535
## Basic example

src/ProgramTest.elm

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This module allows you to interact with your program by simulating
4141
user interactions and external events (like HTTP responses and ports),
4242
and making assertions about the HTML it renders and the external requests it makes.
4343
44-
- [Guide for upgrading from elm-program-test 2.x to 3.x](https://elm-program-test.netlify.com/upgrade-3.0.0.html)
44+
- [Guide for upgrading from elm-program-test 2.x to 3.x](https://elm-program-test.netlify.app/upgrade-3.0.0.html)
4545
4646
4747
## Documentation index
@@ -63,11 +63,11 @@ For a more detailed explanation of how to get started,
6363
see the elm-program-test guidebooks
6464
(the best one to start with is “Testing programs with interactive views”):
6565
66-
- [Testing programs with interactive views](https://elm-program-test.netlify.com//html.html) &mdash;
66+
- [Testing programs with interactive views](https://elm-program-test.netlify.app//html.html) &mdash;
6767
shows an example of test-driving adding form validation to an Elm program
68-
- [Testing programs with Cmds](https://elm-program-test.netlify.com/cmds.html) &mdash; shows testing a program
68+
- [Testing programs with Cmds](https://elm-program-test.netlify.app/cmds.html) &mdash; shows testing a program
6969
that uses `Http.get` and `Http.post`
70-
- [Testing programs with ports](https://elm-program-test.netlify.com/ports.html) &mdash; shows testing a program
70+
- [Testing programs with ports](https://elm-program-test.netlify.app/ports.html) &mdash; shows testing a program
7171
that uses ports to interface with JavaScript
7272
7373
@@ -483,7 +483,7 @@ withJsonStringFlags decoder (ProgramDefinition options program) =
483483
when your app runs in production
484484
(this enables you to use [`simulateHttpResponse`](#simulateHttpResponse), [`advanceTime`](#advanceTime), etc.).
485485
For a detailed explanation and example of how to set up tests that use simulated effects,
486-
see the [“Testing programs with Cmds” guidebook](https://elm-program-test.netlify.com/cmds.html).
486+
see the [“Testing programs with Cmds” guidebook](https://elm-program-test.netlify.app/cmds.html).
487487
488488
You only need to use this if you need to simulate [HTTP requests](#simulating-http-responses),
489489
[outgoing ports](#expectOutgoingPortValues),
@@ -506,7 +506,7 @@ when your app runs in production
506506
(this enables you to use [`simulateIncomingPort`](#simulateIncomingPort), etc.).
507507
You only need to use this if you need to simulate subscriptions in your test.
508508
For a detailed explanation and example of how to set up tests that use simulated subscriptions,
509-
see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com/ports.html).
509+
see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app/ports.html).
510510
511511
The function you provide should be similar to your program's `subscriptions` function
512512
but return `SimulatedSub`s instead of `Sub`s.
@@ -1732,7 +1732,7 @@ For example:
17321732
Json.Decode.string
17331733
(Expect.equal [ "975774a26612", "920facb1bac0" ])
17341734
1735-
For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com/ports.html).
1735+
For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app/ports.html).
17361736
17371737
NOTE: You must use [`withSimulatedEffects`](#withSimulatedEffects) before you call [`start`](#start) to be able to use this function.
17381738
@@ -1829,7 +1829,7 @@ For example, here we are simulating the program receiving a list of strings on t
18291829
[ "Garden-path sentences can confuse the reader." ]
18301830
)
18311831
1832-
For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com/ports.html).
1832+
For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app/ports.html).
18331833
18341834
NOTE: You must use [`withSimulatedSubscriptions`](#withSimulatedSubscriptions) before you call [`start`](#start) to be able to use this function.
18351835

src/SimulatedEffect/Ports.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ to help you implement the function to provide when using
77
[`ProgramTest.withSimulatedEffects`](ProgramTest#withSimulatedEffects)
88
and [`ProgramTest.withSimulatedSubscriptions`](ProgramTest#withSimulatedSubscriptions).
99
10-
For a detailed example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com/ports.html).
10+
For a detailed example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app/ports.html).
1111
1212
@docs send, subscribe
1313

0 commit comments

Comments
 (0)