File: main_test.go

package info (click to toggle)
golang-github-gopherjs-gopherjs 0.0~git20170927.0.4152256-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,464 kB
  • sloc: cpp: 91; makefile: 7
file content (9 lines) | stat: -rw-r--r-- 125 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package main

import "testing"

func TestNotRunMain(t *testing.T) {
	if mainDidRun {
		t.Error("main function did run")
	}
}