Skip to content

Commit cda9fe5

Browse files
committed
capitalise gpt2 download fixture test tool
1 parent 3badeb7 commit cda9fe5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

test/gpt2/tdownload.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef(SharedTestFixtures = {downloadGPT2Fixture}) tdownload < matlab.unittest.TestCase
1+
classdef(SharedTestFixtures = {DownloadGPT2Fixture}) tdownload < matlab.unittest.TestCase
22
% tdownload Tests for gpt2.download
33

44
% Copyright 2020 The MathWorks, Inc.

test/gpt2/tload.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef(SharedTestFixtures = {downloadGPT2Fixture}) tload < matlab.unittest.TestCase
1+
classdef(SharedTestFixtures = {DownloadGPT2Fixture}) tload < matlab.unittest.TestCase
22
% tload Test for gpt2.load
33

44
% Copyright 2020 The MathWorks, Inc.

test/gpt2/tmodel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef(SharedTestFixtures = {downloadGPT2Fixture}) tmodel < matlab.unittest.TestCase
1+
classdef(SharedTestFixtures = {DownloadGPT2Fixture}) tmodel < matlab.unittest.TestCase
22
% tmodel Tests for gpt2.model
33

44
% Copyright 2020 The MathWorks, Inc.

test/gpt2/tokenizer/tGPT2Tokenizer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef(SharedTestFixtures = {downloadGPT2Fixture}) tGPT2Tokenizer < matlab.unittest.TestCase
1+
classdef(SharedTestFixtures = {DownloadGPT2Fixture}) tGPT2Tokenizer < matlab.unittest.TestCase
22
% tGPT2Tokenizer Tests for the text encoder class
33

44
% Copyright 2020 The MathWorks, Inc.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
classdef downloadGPT2Fixture < matlab.unittest.fixtures.Fixture
2-
% downloadGPT2Fixture A fixture for calling gpt2.download if
1+
classdef DownloadGPT2Fixture < matlab.unittest.fixtures.Fixture
2+
% DownloadGPT2Fixture A fixture for calling gpt2.download if
33
% necessary. This is to ensure that this function is only called once
44
% and only when tests need it. It also provides a teardown to return
55
% the test environment to the expected state before testing.

0 commit comments

Comments
 (0)