// retoor <retoor@molodetz.nl>
|
|
|
|
import "pathlib" for Path
|
|
|
|
var p1 = Path.new("/home/user")
|
|
var p2 = Path.new("/home/user")
|
|
var p3 = Path.new("/home/other")
|
|
|
|
System.print(p1 == p2) // expect: true
|
|
System.print(p1 != p3) // expect: true
|
|
System.print(p1 == p3) // expect: false
|