github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/environs/tools/urls_windows_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:          "C:/home/foo",
    15  	expected:    "file://C:/home/foo/tools",
    16  	expectedErr: nil,
    17  }, {
    18  	in:          "C:/home/foo/tools",
    19  	expected:    "file://C:/home/foo/tools",
    20  	expectedErr: nil,
    21  }}