Skip to content

Commit

Permalink
Refactor channel hasContent calls (only JS acceptance tests run)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliott5 committed Jul 25, 2015
1 parent e0dc1b1 commit 2057ef3
Show file tree
Hide file tree
Showing 5 changed files with 5,748 additions and 18,729 deletions.
3 changes: 3 additions & 0 deletions goroot/haxe/go1.4/src/haxegoruntime/tgotypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ func addrString(s string) *string {

// nilIfEmpty is an utiltiy to substitute nil pointer if the pointed at string is ""
func nilIfEmpty(sp *string) *string {
if sp == nil {
return nil
}
if *sp == "" {
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions goroot/haxe/go1.4/src/tgotests.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
)

var parallelism = 1 + runtime.NumCPU()/2 // control resource usage here
const groupAll = true // control grouping of tests here
const onlyJS = false // requires groupAll=false - control if only the JS tests are run (for quicker partial testing)
const groupAll = false // control grouping of tests here
const onlyJS = true // requires groupAll=false - control if only the JS tests are run (for quicker partial testing)

// space required before and after package names

Expand Down
Loading

0 comments on commit 2057ef3

Please sign in to comment.