Skip to content

Commit f51991c

Browse files
committed
fixing tests (no more port range check)
1 parent ffd9e8d commit f51991c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LiveServer"
22
uuid = "16fef848-5104-11e9-1b77-fb7a48bbb589"
33
authors = ["Jonas Asprion <jonas.asprion@gmx.ch", "Thibaut Lienart <tlienart@me.com>"]
4-
version = "1.3.0"
4+
version = "1.3.1"
55

66
[deps]
77
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ doc environment or not (i.e. the `Project.toml` in `docs/`).
209209
* `makejl="make.jl"`: path of the script generating the documentation relative
210210
to `foldername`.
211211
* `host="127.0.0.1"`: where the server will start.
212-
* `port=8000`: port number, an integer between 8000 (default) and 9000.
212+
* `port=8000`: port number.
213213
* `launch_browser=false`: specifies whether to launch a browser at the
214214
localhost URL or not.
215215
"""

test/server.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ tasks that you will try to start.
4444
#
4545
# STEP 1: launching the listener
4646
#
47-
# assert 8000 ≤ port ≦ 9000
48-
@test_throws ArgumentError serve(port=7000)
49-
@test_throws ArgumentError serve(port=10000)
5047

5148
# define filewatcher outside so that can follow it
5249
fw = LS.SimpleWatcher(LS.file_changed_callback)

0 commit comments

Comments
 (0)