@@ -141,46 +141,46 @@ test('getRepositoryInfo', t => {
141
141
t . is ( getRepositoryInfoAdapter ( 'https://github.com' ) , undefined ) ;
142
142
t . is ( getRepositoryInfoAdapter ( 'https://gist.github.com/' ) , undefined ) ;
143
143
t . is ( getRepositoryInfoAdapter ( 'https://github.com/settings/developers' ) , undefined ) ;
144
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection' ) , {
145
- owner : 'fregante ' ,
144
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection' ) , {
145
+ owner : 'refined-github ' ,
146
146
name : 'github-url-detection' ,
147
- nameWithOwner : 'fregante /github-url-detection' ,
147
+ nameWithOwner : 'refined-github /github-url-detection' ,
148
148
path : '' ,
149
149
} ) ;
150
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection/' ) , {
151
- owner : 'fregante ' ,
150
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection/' ) , {
151
+ owner : 'refined-github ' ,
152
152
name : 'github-url-detection' ,
153
- nameWithOwner : 'fregante /github-url-detection' ,
153
+ nameWithOwner : 'refined-github /github-url-detection' ,
154
154
path : '' ,
155
155
} ) ;
156
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection/blame/master/package.json' ) , {
157
- owner : 'fregante ' ,
156
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection/blame/master/package.json' ) , {
157
+ owner : 'refined-github ' ,
158
158
name : 'github-url-detection' ,
159
- nameWithOwner : 'fregante /github-url-detection' ,
159
+ nameWithOwner : 'refined-github /github-url-detection' ,
160
160
path : 'blame/master/package.json' ,
161
161
} ) ;
162
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection/commit/57bf4' ) , {
163
- owner : 'fregante ' ,
162
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection/commit/57bf4' ) , {
163
+ owner : 'refined-github ' ,
164
164
name : 'github-url-detection' ,
165
- nameWithOwner : 'fregante /github-url-detection' ,
165
+ nameWithOwner : 'refined-github /github-url-detection' ,
166
166
path : 'commit/57bf4' ,
167
167
} ) ;
168
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection/compare/test-branch?quick_pull=0' ) , {
169
- owner : 'fregante ' ,
168
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection/compare/test-branch?quick_pull=0' ) , {
169
+ owner : 'refined-github ' ,
170
170
name : 'github-url-detection' ,
171
- nameWithOwner : 'fregante /github-url-detection' ,
171
+ nameWithOwner : 'refined-github /github-url-detection' ,
172
172
path : 'compare/test-branch' ,
173
173
} ) ;
174
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection/tree/master/distribution' ) , {
175
- owner : 'fregante ' ,
174
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection/tree/master/distribution' ) , {
175
+ owner : 'refined-github ' ,
176
176
name : 'github-url-detection' ,
177
- nameWithOwner : 'fregante /github-url-detection' ,
177
+ nameWithOwner : 'refined-github /github-url-detection' ,
178
178
path : 'tree/master/distribution' ,
179
179
} ) ;
180
- t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/fregante /github-url-detection/tree/master/distribution/' ) , {
181
- owner : 'fregante ' ,
180
+ t . deepEqual ( getRepositoryInfoAdapter ( 'https://github.com/refined-github /github-url-detection/tree/master/distribution/' ) , {
181
+ owner : 'refined-github ' ,
182
182
name : 'github-url-detection' ,
183
- nameWithOwner : 'fregante /github-url-detection' ,
183
+ nameWithOwner : 'refined-github /github-url-detection' ,
184
184
path : 'tree/master/distribution' ,
185
185
} ) ;
186
186
}
0 commit comments