mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-30 13:48:51 +08:00
Remove dot imports from model/functions_test.go
This commit is contained in:
parent
a5da022568
commit
bef5b7aa30
@ -9,7 +9,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/unidoc/unidoc/common"
|
"github.com/unidoc/unidoc/common"
|
||||||
. "github.com/unidoc/unidoc/pdf/core"
|
"github.com/unidoc/unidoc/pdf/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -48,7 +48,7 @@ endobj
|
|||||||
* z = sin(y * 360)/2 + sin(x * 360)/2
|
* z = sin(y * 360)/2 + sin(x * 360)/2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
parser := NewParserFromString(rawText)
|
parser := core.NewParserFromString(rawText)
|
||||||
|
|
||||||
obj, err := parser.ParseIndirectObject()
|
obj, err := parser.ParseIndirectObject()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -56,7 +56,7 @@ endobj
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
stream, ok := obj.(*PdfObjectStream)
|
stream, ok := obj.(*core.PdfObjectStream)
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Errorf("Invalid object type (%q)", obj)
|
t.Errorf("Invalid object type (%q)", obj)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user