Skip to content

Commit 1107450

Browse files
Some changes within workflow
Signed-off-by: Anshukumar123975 <[email protected]>
1 parent 609d124 commit 1107450

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/conformance-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout Conformance Suite
2525
uses: actions/checkout@v3
2626
with:
27-
repository: Anshukumar123975/concerto-conformance
27+
repository: accordproject/concerto-conformance
2828
path: concerto-conformance
2929

3030
- name: Install Conformance Suite Dependencies

src/model_file.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ pub struct ModelFile {
1717

1818
impl ModelFile {
1919
/// Creates a new model file
20-
pub fn get_name(&self) -> String {
21-
self.model.namespace.clone()
22-
}
23-
20+
2421
pub fn new(model: Model, content: String, file_name: String) -> Self {
2522
ModelFile { model, content, file_name }
2623
}
24+
pub fn get_name(&self) -> String {
25+
self.model.namespace.clone()
26+
}
27+
28+
2729

2830
/// Loads a model file from a string
2931
pub fn from_string(content: String) -> Result<Self, ConcertoError> {

0 commit comments

Comments
 (0)