Skip to content

Commit

Permalink
Moved Internet into Nettlesome
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Dec 1, 2023
1 parent a4152e3 commit e0a702d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
25 changes: 0 additions & 25 deletions src/core/internet.scala

This file was deleted.

13 changes: 0 additions & 13 deletions src/test/tests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ case class Person(name: Text, age: Int)
object Tests extends Suite(t"Rudiments Tests"):
def run(): Unit =

def remoteCall()(using Internet): Unit = ()

test(t"Check remote call is callable with `Internet`"):
internet:
remoteCall()
.assert()

test(t"Dual extraction"):
object AsInt:
def unapply(x: String): Option[Char] = Some('I')
Expand All @@ -49,12 +42,6 @@ object Tests extends Suite(t"Rudiments Tests"):
case _ => ('X', 'X')
.assert(_ == ('I', 'J'))

test(t"Check remote call is not callable without `Internet`"):
demilitarize:
remoteCall()
.map(_.errorId)
.assert(_ == List(ErrorId.MissingImplicitArgumentID))

test(t"Display a PID"):
Pid(2999).toString
.assert(_ == "↯2999")
Expand Down

0 comments on commit e0a702d

Please sign in to comment.