Skip to content

Commit

Permalink
. t experimenting with adding txt files to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dionAngelo committed Jan 19, 2024
1 parent 7dd84ce commit e2b9369
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.

This file was deleted.

23 changes: 23 additions & 0 deletions src/Approvaltests-Tests/RepositoryTest.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Class {
#name : #RepositoryTest,
#superclass : #TestCase,
#category : #'Approvaltests-Tests'
}

{ #category : #tests }
RepositoryTest >> testAddingNonSmalltalkFiles [

| repo file |
repo := IceRepository registry
detect: [ :each |
each name = 'ApprovalTests.pharo.StarterProject' ]
ifNone: [ nil ].

file := ('src' , '/Approvaltests-Tests/'
, 'ApprovalNamerTest.testApprovedFile.approved.txt')
asFileReference.

repo addFileToIndex: file


]

0 comments on commit e2b9369

Please sign in to comment.