@@ -16,7 +16,7 @@ import (
1616 "github.com/stretchr/testify/require"
1717)
1818
19- func TestUnmarshalManifestList (t * testing.T ) {
19+ func TestUnmarshalDriverList (t * testing.T ) {
2020 tests := []struct {
2121 name string
2222 contents string
@@ -37,10 +37,10 @@ func TestUnmarshalManifestList(t *testing.T) {
3737 for _ , tt := range tests {
3838 t .Run (tt .name , func (t * testing.T ) {
3939 tmpdir := t .TempDir ()
40- manifestPath := filepath .Join (tmpdir , "manifest.txt " )
41- require .NoError (t , os .WriteFile (manifestPath , []byte (tt .contents ), 0644 ))
40+ driverListPath := filepath .Join (tmpdir , "dbc.toml " )
41+ require .NoError (t , os .WriteFile (driverListPath , []byte (tt .contents ), 0644 ))
4242
43- pkgs , err := GetDriverList (manifestPath )
43+ pkgs , err := GetDriverList (driverListPath )
4444 if tt .err != nil {
4545 require .Error (t , err )
4646 assert .ErrorContains (t , err , tt .err .Error ())
@@ -72,7 +72,7 @@ func must[T any](v T, err error) T {
7272 return v
7373}
7474
75- func TestMarshalManifestList (t * testing.T ) {
75+ func TestMarshalDriverManifestList (t * testing.T ) {
7676 data , err := toml .Marshal (DriversList {
7777 Drivers : map [string ]driverSpec {
7878 "flightsql" : {Version : must (semver .NewConstraint (">=1.6.0" ))},
0 commit comments