Skip to content

Commit a3087f6

Browse files
committed
Remove commented out code.
Followup to #380.
1 parent dbe4e14 commit a3087f6

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

tool.go

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020
"path"
2121
"path/filepath"
2222
"runtime"
23-
// "sort"
2423
"strconv"
2524
"strings"
2625
"syscall"
@@ -798,17 +797,8 @@ func (t *testFuncs) load(filename, pkg string, doImport, seen *bool) error {
798797
*doImport, *seen = true, true
799798
}
800799
}
801-
// ex := doc.Examples(f)
802-
// sort.Sort(byOrder(ex))
803-
// for _, e := range ex {
804-
// *doImport = true // import test file whether executed or not
805-
// if e.Output == "" && !e.EmptyOutput {
806-
// // Don't run examples with no output.
807-
// continue
808-
// }
809-
// t.Examples = append(t.Examples, testFunc{pkg, "Example" + e.Name, e.Output})
810-
// *seen = true
811-
// }
800+
// TODO: Support examples, populate t.Examples here.
801+
// Blocking on https://github.com/gopherjs/gopherjs/issues/381 being resolved.
812802
return nil
813803
}
814804

0 commit comments

Comments
 (0)