Refactor: s/Basic/Direct/ on connection type

This commit is contained in:
Jakob Borg
2015-08-23 08:43:33 +02:00
parent 42acf0ed60
commit f691040936
4 changed files with 11 additions and 11 deletions

View File

@@ -285,7 +285,7 @@ func BenchmarkRequest(b *testing.B) {
m.AddConnection(Connection{
&net.TCPConn{},
fc,
ConnectionTypeBasicAccept,
ConnectionTypeDirectAccept,
})
m.Index(device1, "default", files, 0, nil)
@@ -328,7 +328,7 @@ func TestDeviceRename(t *testing.T) {
m.AddConnection(Connection{
&net.TCPConn{},
fc,
ConnectionTypeBasicAccept,
ConnectionTypeDirectAccept,
})
m.ServeBackground()