From 64f2fc3e00d5222c3ba349465581eabf81192831 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 9 May 2024 09:39:50 -0700 Subject: [PATCH] remove junk --- fixtures/fixtures.go. | 73 ------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 fixtures/fixtures.go. diff --git a/fixtures/fixtures.go. b/fixtures/fixtures.go. deleted file mode 100644 index d3d19e1..0000000 --- a/fixtures/fixtures.go. +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2024 Matthew Rich . All rights reserved. -package fixtures - -import ( - "testing" -) - -type Test func(t *testing.T) - -// Read fixture data -// RunWith test -type FRunner interface { - Read() interface{} - RunWith(Test) -} - -type F struct { - *testing.T - Init *struct -} - -func New(i interface{}) *F { - return &F{ t, Init: i } -} - -func (f *F) Read() interface{} { - -} - -func (f *F) RunWith(t Test) { - -} - -/* - -Test(t *testing.T) { -f = Fix{t} -f.GetData -for x in range(data) { -f.RunWith(func -t.Run(name, subtest) -} -} - -Fixtures -{ input, output }, -{ input1, output1 }, - -Fixture.RunWith(Test { }) - - - - -type Test func(t *testing.T) - -type Fixture func(f *F) interface{} - -func FixtureFoo() interface{} { - os.Open( -} - -func TestWith() { - -} - -func (f Test) RunWith(t *testing.T, f []Fixture) { - for d := range(f) { - t.Run(name, f) - // Run subtest - t.Run() -} - -*/