Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

456 B
Raw Blame
package migrations_test

import (
	"math"
	"testing"

	"github.com/pressly/goose/v3"
)

func TestMigrationVersionsAreUnique(t *testing.T) {
	// Exercise Goose discovery without a database so branch-merge collisions
	// fail in the fast unit gate, before any integration suite starts.
	migrations, err := goose.CollectMigrations(".", 0, math.MaxInt64)
	if err != nil {
		t.Fatal(err)
	}
	if len(migrations) == 0 {
		t.Fatal("no migrations discovered")
	}
}