~ubuntu-branches/ubuntu/wily/golang-x-text/wily

« back to all changes in this revision

Viewing changes to language/coverage_test.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-10-19 22:03:07 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20151019220307-06qbha67qp4yf5gn
Tags: 0+git20151019.0fe7e68-0ubuntu1
New upstream snapshot, resolving FTBFS with golang 1.5 and supporting
MIR of juju (see http://pad.lv/1267393).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
)
12
12
 
13
13
func TestSupported(t *testing.T) {
14
 
        // To prove the results are correct for a type,  we test that the number of
 
14
        // To prove the results are correct for a type, we test that the number of
15
15
        // results is identical to the number of results on record, that all results
16
16
        // are distinct and that all results are valid.
17
17
        tests := map[string]int{
18
18
                "BaseLanguages": numLanguages,
19
19
                "Scripts":       numScripts,
20
20
                "Regions":       numRegions,
 
21
                "Currencies":    numCurrencies,
21
22
                "Tags":          0,
22
23
        }
23
24
        sup := reflect.ValueOf(Supported)