Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint_vba.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Precompile
run: |
python -m pip install --upgrade pip
pip install 'vba_precompiler @ git+https://github.com/Beakerboy/VBA-Precompiler@dev'
pip install 'vba_precompiler @ git+https://github.com/Beakerboy/VBA-Precompiler'
python -m vba_precompiler ./src
rm -rf ./src
- name: Lint
Expand Down
4 changes: 2 additions & 2 deletions examples/ClassModules/TestCaseStub.cls
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ End Sub
' Sub: MyFirstTest
' All test subs should end with "Test" and include at least one assertion.
Sub MyFirstTest()
AssertTrue(2 = 1 + 1, "AssertTrue that one plus one equals two")
AssertEquals(1 + 1, 2, "AssertEquals that one plus one equals two")
AssertTrue 2 = 1 + 1, "AssertTrue that one plus one equals two"
AssertEquals 1 + 1, 2, "AssertEquals that one plus one equals two"
End Sub
1 change: 1 addition & 0 deletions examples/Modules/ProjectUnitTests.bas
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Attribute VB_Name = "ProjectUnitTests"
Public Function RunTests()

Dim TestConfig As iTestableProject
Expand Down
2 changes: 1 addition & 1 deletion testing/ClassModules/PostLogTests.cls
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ End Function
' Function: iTestCase_GetObject
' Returns this object
Function iTestCase_GetObject()
Set iTestCase_GetObject = New PostLogChecks
Set iTestCase_GetObject = New PostLogTests
End Function

' Function: ErrorLoggedTest
Expand Down
1 change: 1 addition & 0 deletions testing/Modules/VBAUnitTesterUnitTests.bas
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Attribute VB_Name = "VBAUnitTesterUnitTests"
Public Function RunTests()

Dim TestConfig As iTestableProject
Expand Down