Compare commits
No commits in common. "v0.1.1-rc.10" and "v0.1.1-rc.9" have entirely different histories.
v0.1.1-rc.
...
v0.1.1-rc.
18
CHANGELOG.md
18
CHANGELOG.md
@ -1,21 +1,3 @@
|
||||
## [0.1.1-rc.10](https://git.ext.icikowski.pl/go/collections/compare/v0.1.1-rc.9...v0.1.1-rc.10) (2024-05-21)
|
||||
|
||||
|
||||
### Tests
|
||||
|
||||
* **fixtures:** embed test fixtures ([563848c](https://git.ext.icikowski.pl/go/collections/commit/563848c2fb94637046a3c87e7717ec960f546154))
|
||||
|
||||
|
||||
### Continuous Integrations
|
||||
|
||||
* **deps:** pin `conventional-changelog-conventionalcommits` to version 7.x ([739f469](https://git.ext.icikowski.pl/go/collections/commit/739f469fbd891866529b9a8acf21a42b6a3d1c7e))
|
||||
|
||||
|
||||
### Build system and dependencies
|
||||
|
||||
* **deps:** update all non-major dependencies ([45caf52](https://git.ext.icikowski.pl/go/collections/commit/45caf527e51ea272f2351d2f35d12af4030c0678))
|
||||
* **deps:** update dependency conventional-changelog-conventionalcommits to v8 ([c735657](https://git.ext.icikowski.pl/go/collections/commit/c735657b0364fd68656ee89756193fe52a5030ad))
|
||||
|
||||
## [0.1.1-rc.9](https://git.ext.icikowski.pl/go/collections/compare/v0.1.1-rc.8...v0.1.1-rc.9) (2024-04-12)
|
||||
|
||||
|
||||
|
@ -1,17 +1,16 @@
|
||||
package collections
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
_ "embed"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
//go:embed collection_test.csv
|
||||
var testData []byte
|
||||
var testData embed.FS
|
||||
|
||||
type person struct {
|
||||
ID int
|
||||
@ -21,7 +20,8 @@ type person struct {
|
||||
}
|
||||
|
||||
func TestCollection(t *testing.T) {
|
||||
data := strings.Split(string(testData), "\n")
|
||||
rawData, _ := testData.ReadFile("collection_test.csv")
|
||||
data := strings.Split(string(rawData), "\n")
|
||||
|
||||
lines := OfSlice(data).Skip(1).Filter(func(s string) bool {
|
||||
return strings.Contains(s, ",")
|
||||
|
7
go.mod
7
go.mod
@ -2,13 +2,10 @@ module pkg.icikowski.pl/collections
|
||||
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/stretchr/testify v1.8.4
|
||||
golang.org/x/text v0.11.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/stretchr/testify v1.8.4 // indirect
|
||||
golang.org/x/text v0.11.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
1
go.sum
1
go.sum
@ -6,7 +6,6 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
|
||||
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
|
||||
golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4=
|
||||
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
2448
package-lock.json
generated
2448
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "collections",
|
||||
"version": "0.1.1-rc.10",
|
||||
"version": "0.1.1-rc.9",
|
||||
"scripts": {
|
||||
"release": "./node_modules/.bin/semantic-release"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user