Skip to content

Commit 599abf5

Browse files
author
udhos
committed
Tests.
1 parent 59e512a commit 599abf5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

basc/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ func buildGo(dir, baslibModule string, getFlags []string, output string) error {
236236
}
237237

238238
//
239-
// go get
239+
// go mod tidy
240240
//
241241

242-
args = []string{"get"}
242+
args = []string{"mod", "tidy"}
243243
cmdGet = exec.Command("go", args...)
244244
cmdGet.Stdin = os.Stdin
245245
cmdGet.Stdout = os.Stdout

examples/bench1.bas

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
10 FOR A=1 TO 10
2+
20 T1=TIMER
3+
30 FOR X=1 TO 100000:NEXT
4+
40 T2=TIMER
5+
50 T(A)=T2-T1:?T(A)
6+
60 NEXT:?"Average="(T(1)+T(2)+T(3)+T(4)+T(5)+T(6)+T(7)+T(8)+T(9)+T(10))/10
File renamed without changes.

0 commit comments

Comments
 (0)