I hate commit messages
This commit is contained in:
1 parent
209af0d820
commit
8654c45e35
11 files changed
+278
-35
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/didiercrunch/filou/contract"
|
||||
)
|
||||
|
||||
func getMockContract() *contract.PublicContract {
|
||||
c := new(contract.PublicContract)
|
||||
c.AcceptedHashes = []string{"hash_function_1", "hash_function_2"}
|
||||
return c
|
||||
}
|
||||
|
||||
func getMockContractAndFile() *contract.PublicContract {
|
||||
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
func TestGetFileContract(t *testing.T) {
|
||||
}
|
||||
Reference in new issue
Block a user