Unified · Split
| @@ -58,13 +58,13 @@ func TestParseValidIPv4(t *testing.T) { · 57 unmodified lines | ||
| 58 | 58 | } |
| 59 | 59 | ``` |
| 60 | 60 | |
| 61 | −You can [play around](https://play.golang.org/p/Lp_C99wMBve) with the IPv4 | |
| 61 | +You can [play around](https://go.dev/play/p/gtrfx-BK0t2) with the IPv4 | |
| 62 | 62 | regexp to see what happens when it is generating invalid addresses |
| 63 | 63 | (or try to pass the test with your own `ParseIP` implementation). More complete |
| 64 | 64 | function ([source code](./example_function_test.go), |
| 65 | −[playground](https://play.golang.org/p/lJmJvKRE_7H)) and state machine | |
| 65 | +[playground](https://go.dev/play/p/tZFU8zv8AUl)) and state machine | |
| 66 | 66 | ([source code](./example_statemachine_test.go), |
| 67 | −[playground](https://play.golang.org/p/ywwugVkCm3m)) example tests are provided. | |
| 67 | +[playground](https://go.dev/play/p/LRb_Nm1s9T5)) example tests are provided. | |
| 68 | 68 | They both fail. Making them pass is a good way to get first real experience |
| 69 | 69 | of working with rapid. |
| 70 | 70 | |