Skip to content

Commit

Permalink
Add a test that runs system.platform and system.architecture. (#1954)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry authored Nov 8, 2023
1 parent 2d36341 commit ad02c45
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/platform-test.toit
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright (C) 2023 Toitware ApS.
// Use of this source code is governed by a Zero-Clause BSD license that can
// be found in the tests/LICENSE file.
import expect show *
import system

main:
p/string := system.platform
a/string := system.architecture
expect p.size >= 3
expect a.size >= 3
print "$p $a"

0 comments on commit ad02c45

Please sign in to comment.