mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 16:16:50 +08:00
OpenIOContextWithDictionary (#116)
* OpenIOContextWithDictionary * OpenIOContext * OpenIOContext * IOInterrupterCB * OpenIOContext(filename string, flags IOContextFlags, ii *IOInterrupter, d *Dictionary)
This commit is contained in:
@@ -56,7 +56,7 @@ func TestIOContext(t *testing.T) {
|
||||
|
||||
func TestOpenIOContext(t *testing.T) {
|
||||
path := filepath.Join(t.TempDir(), "iocontext.txt")
|
||||
c, err := OpenIOContext(path, NewIOContextFlags(IOContextFlagWrite))
|
||||
c, err := OpenIOContext(path, NewIOContextFlags(IOContextFlagWrite), nil, nil)
|
||||
require.NoError(t, err)
|
||||
cl := c.Class()
|
||||
require.NotNil(t, cl)
|
||||
|
Reference in New Issue
Block a user