mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 04:27:34 +00:00
Fix some typos in the branch checks
This commit is contained in:
@@ -104,7 +104,7 @@ describe('run', () => {
|
||||
expect(removeLabelMock).toHaveBeenCalledTimes(0);
|
||||
});
|
||||
|
||||
it('adds labels based on the branch names that match the glob pattern', async () => {
|
||||
it('adds labels based on the branch names that match the regexp pattern', async () => {
|
||||
github.context.payload.pull_request!.head = {ref: 'test/testing-time'};
|
||||
usingLabelerConfigYaml('branches.yml');
|
||||
await run();
|
||||
@@ -118,7 +118,7 @@ describe('run', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('adds multiple labels based on branch names that match different glob patterns', async () => {
|
||||
it('adds multiple labels based on branch names that match different regexp patterns', async () => {
|
||||
github.context.payload.pull_request!.head = {
|
||||
ref: 'test/feature/123'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user