github.com/mhilton/juju-juju@v0.0.0-20150901100907-a94dd2c73455/environs/tools/urls_unix_test.go (about)

     1  // Copyright 2012, 2013, 2014 Canonical Ltd.
     2  // Copyright 2014 Cloudbase Solutions SRL
     3  // Licensed under the AGPLv3, see LICENCE file for details.
     4  
     5  // +build !windows
     6  
     7  package tools_test
     8  
     9  var toolsTestsPlatformSpecific = []struct {
    10  	in          string
    11  	expected    string
    12  	expectedErr error
    13  }{{
    14  	in:          "/home/foo",
    15  	expected:    "file:///home/foo/tools",
    16  	expectedErr: nil,
    17  }, {
    18  	in:          "/home/foo/tools",
    19  	expected:    "file:///home/foo/tools",
    20  	expectedErr: nil,
    21  }}