Skip to content

Commit dfc90f9

Browse files
authored
Merge branch 'master' into additionalindexarraytests
2 parents aa17244 + 36b660e commit dfc90f9

File tree

9 files changed

+153
-155
lines changed

9 files changed

+153
-155
lines changed

.github/workflows/stale.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
- uses: actions/stale@v3
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
16-
stale-issue-message: 'Stale issue message'
17-
stale-pr-message: 'Stale pull request message'
16+
stale-issue-message: 'As this issue has received no new activity, it has been marked as stale'
17+
stale-pr-message: 'As this pull request has received no new activity, it has been marked as stale'
1818
stale-issue-label: 'no-issue-activity'
1919
stale-pr-label: 'no-pr-activity'
20+
exempt-issue-labels: 'Up for Grabs,Blocked'
21+
exempt-pr-labels: 'Work in progress'

Docs/articles/GettingStarted.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ so overwhelming like the dev kit. This article focuses on the user kit.
2727

2828
## Writing your first Operating System
2929

30-
Create a new project as you would any C# project, but select Cosmos as the
31-
project type.
30+
Create a new project as you would any C# project, but select Cosmos Kernel
31+
(Previously CosmosBoot; same functionality) as the project type.
3232

3333
![](images/SNAG-0000.png)
3434

Tests/Kernels/Cosmos.Compiler.Tests.Bcl.System/System/ArrayTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public static void Execute()
143143
}
144144
Assert.IsTrue(error, "Index out of range exception works correctly for too large positions.");
145145
error = false;
146+
146147
try
147148
{
148149
#pragma warning disable CS0251 // Indexing an array with a negative index
@@ -155,6 +156,7 @@ public static void Execute()
155156
}
156157
Assert.IsTrue(error, "Index out of range exception works correctly for too small positions.");
157158
error = false;
159+
158160
try
159161
{
160162
x[7] = new Test();
@@ -165,6 +167,10 @@ public static void Execute()
165167
}
166168
Assert.IsTrue(error, "Index out of range exception works correctly when setting elements.");
167169
}
170+
171+
string[] stringArray = new string[10];
172+
stringArray[0] += "asd";
173+
Assert.AreEqual(stringArray[0], "asd", "Adding directly to array works");
168174
}
169175
}
170176

0 commit comments

Comments
 (0)