Skip to content

Commit

Permalink
nightly update
Browse files Browse the repository at this point in the history
  • Loading branch information
thatstoasty committed Aug 15, 2024
1 parent 3204a48 commit a9df70c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions gojo/net/socket.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ from .ip import (
convert_sockaddr_to_host_port,
)
from .address import Addr, BaseAddr, HostPort
from sys import sizeof

alias SocketClosedError = Error("Socket: Socket is already closed")

Expand Down
4 changes: 3 additions & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ mv gojo.mojopkg tmp/
cp -R tests/ tmp/tests/

echo -e "\nBuilding binaries for all examples."
pytest tmp/tests
cd tmp
pytest tests
cd ..

echo -e "Cleaning up the test directory."
rm -R tmp

0 comments on commit a9df70c

Please sign in to comment.