~fwereade/pyjuju/go-place-unit

« back to all changes in this revision

Viewing changes to cmd/juju/main_test.go

  • Committer: William Reade
  • Date: 2012-06-06 09:57:29 UTC
  • mfrom: (193.1.10 go)
  • Revision ID: fwereade@gmail.com-20120606095729-gvsqo1auqspzog9j
merge parent

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package main_test
 
1
package main
2
2
 
3
3
import (
4
4
        "flag"
5
5
        "fmt"
6
6
        "io/ioutil"
7
7
        . "launchpad.net/gocheck"
8
 
        main "launchpad.net/juju/go/cmd/juju"
9
8
        "os"
10
9
        "os/exec"
11
10
        "path/filepath"
26
25
// tool itself.
27
26
func TestRunMain(t *testing.T) {
28
27
        if *flagRunMain {
29
 
                main.Main(flag.Args())
 
28
                Main(flag.Args())
30
29
        }
31
30
}
32
31